NetworkInterface.GetIPProperties Method ()


Returns an object that describes the configuration of this network interface.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

abstract GetIPProperties : unit -> IPInterfaceProperties
override GetIPProperties : unit -> IPInterfaceProperties

Return Value

Type: System.Net.NetworkInformation.IPInterfaceProperties

An IPInterfaceProperties object that describes this network interface.

Note that the information in the object returned by this method reflects the interfaces as of the time the array is created. This information is not updated dynamically.

The following code example displays information for the local computer's network adapters that support IPv4.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top