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   "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. Here is a nice table of hash functions and attacks. 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. –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: Note, the only reason for the tool is to change the public … Continue reading

Posted in C# | 37 Comments