Archive for January, 2008

Enumerating Computers in a Domain

I saw a question in a forum asking how to enumerate computers available in a domain. Though it might seem little difficult, it can be accomplished in less than 10 line of code. Thought would make it as a post for everyone’s benefit. Here we go: usingSystem.DirectoryServices; public void PrintComputersInDomain (string domainName) {     DirectoryEntry de […]

category: .NET, Networking    

.NET Framework Source Code for Debugging Support

As announced earlier by Scott Gu, the source code for most of the namespaces in the .NET framework is available. This means that you can now step into the framework source code while debugging your applications and see its actual implementation. I had a chance to play around with this few weeks ago (thanks Shawn […]

category: .NET