Monthly Archives: February 2005

BizTalk 2004

Aaron Skonnard put this up at his blog.  I just repro it here for archive and mental ref to myself and others.  Also note BizTalk has a WSE adapter at http://www.microsoft.com/biztalk/   "One of the most common questions that comes … Continue reading

Posted in C# | 3 Comments

Get local DNS server addresses and domain name.

Here is a way to get the host, domain name, and DNS servers of local machine. using System;using System.Net;using System.Collections;using System.Runtime.InteropServices;using MVPTools; namespace MVPTools.Net{ /// <summary> /// Summary description for IPConfig. /// </summary> public class IPConfig {  private string hostName;  private string domainName;  private IPAddress[] dnsServers;   public IPConfig()  {   GetParms();  } … Continue reading

Posted in C# | 6 Comments

Permuted order of array.

Permutes the order of an array so that each call to .GetNext() will sort the array into the next order.  No order is repeated until all orders have been "seen", then it starts over.  The cool thing is no state … Continue reading

Posted in C# | 1 Comment

SHA1 Broken?

SHA1 Broken?  See here. http://www.schneier.com/blog/archives/2005/02/sha1_broken.html Here is a nice table of hash functions and attacks.http://planeta.terra.com.br/informatica/paulobarreto/hflounge.html http://www.intertwingly.net/blog/2005/02/16/SHA-1-Broken Sam makes an interesting point.  We probably don’t have to worry about this too soon.. "Dougal, put another way: an uncracked MD5 gives you … Continue reading

Posted in Security

Threaded server design

Two pretty good papers on Threaded server design that are worth reading.  I like the second one.  http://www.eecs.harvard.edu/~mdw/proj/seda/#papershttp://www.eecs.harvard.edu/~mdw/papers/seda-sosp01.pdf –William

Posted in C# | 30 Comments

This is how most people get around your security

How true. (from Keith)

Posted in Security | 2 Comments

Replace Strong Name on Assembly

Seems I always end up searching for how to do this as it gets asked a lot.  Here is a good link on one way to do it: http://www.atrevido.net/blog/PermaLink.aspx?guid=f772c18a-f389-4c28-bd6a-a30f4ccc84f5 Note, the only reason for the tool is to change the public … Continue reading

Posted in C# | 37 Comments