Szerkesztés

Megosztás a következőn keresztül:


IPInterfaceProperties.GetIPv4Properties Method

Definition

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.

Applies to