This documentation is archived and is not being maintained.

Troubleshooting Exceptions: System.Net.NetworkInformation.NetworkInformationException

The exception that is thrown when an error occurs while retrieving network information.

Types in the System.Net.NetworkInformation namespace throw this exception when a call to a Win32 function fails. The ErrorCode property contains the result returned by the function.