Table of Contents

Class IPGlobalProperties

Namespace
System.Net.NetworkInformation
Assembly
System.Net.dll

Provides information about the network connectivity of the local computer.

public static class IPGlobalProperties
Inheritance
IPGlobalProperties
Inherited Members

Methods

GetIPAddress()

Gets the IP address of the network interface.

public static IPAddress GetIPAddress()

Returns

IPAddress

An IPAddress if a valid IP address is available; otherwise, an Any.

Remarks

This method is exclusive of .NET nanoFramework.