Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HostName.IPInformation | ipInformation property

Applies to Windows and Windows Phone

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

Syntax


var ipInformation = hostName.ipInformation;

Property value

Type: IPInformation

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking
Windows::Networking [C++]

Metadata

Windows.winmd

See also

DatagramSocket
HostName
StreamSocket

 

 

Show:
© 2014 Microsoft