Review this application that uses the HttpWebRequest and HttpWebResponse classes to provide Web page information.
Articles Written by Bill Nolde
Use the DNS class to resolve host names to IP addresses. Also resolve host names from IP addresses where available.
The .NET Framework takes a much different approach to the Environment than Windows. There is a class called Environment, which is part of the System namespace.
Adding the ability to "beep" within a C# program using the Win32 beep.
Check out this collection of C# programs that illustrate using C# and the .NET interface. They are all short, interactive examples that use .NET forms and various system features.
An existing, easy-to-use function for with the abilities to do TCP pings programmatically as well as the ability to get the hops count.