0 out of 1 rated this helpful - Rate this topic

IPInformation.PrefixLength | prefixLength property

Applies to Windows and Windows Phone

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

Syntax

Public ReadOnly Property PrefixLength As Nullable(Of Byte)

Property value

Type: IReference<Byte> [JavaScript/C++] | System.Nullable<Byte> [.NET]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

IPInformation
IReference(Byte)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.