Code that may be useful for building a .NET netrek client