HostName.IPInformation Property

Definition

Gets the IPInformation object for a local IP address assigned to a HostName object.

public:
 property IPInformation ^ IPInformation { IPInformation ^ get(); };
IPInformation IPInformation();
public IPInformation IPInformation { get; }
var iPInformation = hostName.iPInformation;
Public ReadOnly Property IPInformation As IPInformation

Property Value

The IPInformation object for the IP address.

Remarks

The IPInformation property is only set when the HostName object is a local IPv4 or IPv6 address returned by the GetHostNames method. This property represents the IPInformation object for the local IP address. If the HostName object is not a local IPv4 or IPv6 address, this property will be null.

Applies to

See also