System.Net.NetworkInformation.NetworkInformationException Class

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

See Also: NetworkInformationException Members


public class NetworkInformationException : System.ComponentModel.Win32Exception


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


Namespace: System.Net.NetworkInformation
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0