IPInformation.PrefixLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the length of the prefix, or network part of the IP address.
public:
property IReference<byte> ^ PrefixLength { IReference<byte> ^ get(); };
IReference<byte> PrefixLength();
public System.Nullable<byte> PrefixLength { get; }
var iReference = iPInformation.prefixLength;
Public ReadOnly Property PrefixLength As Nullable(Of Byte)
Property Value
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.