The IpAddress type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Item[([(Int32])])
Indexed access to the OctetString class data members.
CopyC#
OctetString os = new OctetString("test");
for(int i=0;i<=os.Length;i++) {
 Console.WriteLine("{0}",os[i]);
}
(Inherited from OctetString.)
Length
Get length of the internal byte array. 0 if byte array is undefined or zero length.
(Inherited from OctetString.)
Type
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.)
Valid
Returns true if object contains a valid IP address value.

See Also