Introduction - If you have any usage issues, please Google them yourself
Obtaining the current TCP/IP configuration is not provided by the standard .NET class libraries. In order to work on all the standard desktop OSes supported by .NET at least two different approaches must be taken. For more recent OSes such as Windows XP, WMI contains objects that can be queried to obtain this information.