I​PInformation I​PInformation I​PInformation I​PInformation Class

Definition

Represents the association between an IP address and an adapter on the network.

public : sealed class IPInformation : IIPInformationpublic sealed class IPInformation : IIPInformationPublic NotInheritable Class IPInformation Implements IIPInformation// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

NetworkAdapter NetworkAdapter NetworkAdapter NetworkAdapter

Retrieves the network adapter associated with the IP address.

public : NetworkAdapter NetworkAdapter { get; }public NetworkAdapter NetworkAdapter { get; }Public ReadOnly Property NetworkAdapter As NetworkAdapter// You can use this property in JavaScript.
Value
NetworkAdapter NetworkAdapter NetworkAdapter NetworkAdapter

The associated network adapter.

See Also

PrefixLength PrefixLength PrefixLength PrefixLength

Retrieves the length of the prefix, or network part of the IP address.

public : IReference<byte> PrefixLength { get; }public Nullable<byte> PrefixLength { get; }Public ReadOnly Property PrefixLength As Nullable<byte>// You can use this property in JavaScript.
Value
IReference<byte> Nullable<byte> Nullable<byte> Nullable<byte>

The length, in bits, of the prefix or network part.

Remarks

For a unicast IPv4 address, any value greater than 32 is an illegal value. For a unicast IPv6 address, any value greater than 128 is an illegal value. A value of 255 is commonly used to represent an illegal value.

See Also