IPInterfaceProperties.GetIPv4Properties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides Internet Protocol version 4 (IPv4) configuration data for this network interface.
public:
abstract System::Net::NetworkInformation::IPv4InterfaceProperties ^ GetIPv4Properties();
public abstract System.Net.NetworkInformation.IPv4InterfaceProperties GetIPv4Properties ();
abstract member GetIPv4Properties : unit -> System.Net.NetworkInformation.IPv4InterfaceProperties
Public MustOverride Function GetIPv4Properties () As IPv4InterfaceProperties
Returns
An IPv4InterfaceProperties object that contains IPv4 configuration data.
Exceptions
The interface does not support the IPv4 protocol.
Remarks
For a detailed description of the information available for an interface that supports IPv4, see the IPv4InterfaceProperties class documentation. Note that the object returned by the GetIPv4Properties method reflects the configuration as of the time the object is created. This information is not updated dynamically.