C# Class NetworkCommsDotNet.Tools.XPlatformHelper.IPv6Address

Encapsulates an IPv6 Address. See RFC 2373 for more info on IPv6 addresses.
Afficher le fichier Open project: MarcFletcher/NetworkComms.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
Loopback IPv6Address
Unspecified IPv6Address

Méthodes publiques

Méthode Description
Equals ( object other ) : bool
GetHashCode ( ) : int
IPv6Address ( ushort addr ) : System
IPv6Address ( ushort addr, int prefixLength ) : System
IPv6Address ( ushort addr, int prefixLength, int scopeId ) : System
IsIPv4Compatible ( ) : bool
IsIPv4Mapped ( ) : bool
IsLoopback ( IPv6Address addr ) : bool
Parse ( string ipString ) : IPv6Address
ToString ( ) : string

Overrides System.Object.ToString to return this object rendered in a canonicalized notation

ToString ( bool fullLength ) : string
TryParse ( string ipString, IPv6Address &result ) : bool
this ( int index ) : ushort

Private Methods

Méthode Description
AsIPv4Int ( ) : int
Fill ( ushort addr, string ipString ) : int
Hash ( int i, int j, int k, int l ) : int
SwapUShort ( ushort number ) : ushort
TryParse ( string prefix, int &res ) : bool

Method Details

Equals() public méthode

public Equals ( object other ) : bool
other object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IPv6Address() public méthode

public IPv6Address ( ushort addr ) : System
addr ushort
Résultat System

IPv6Address() public méthode

public IPv6Address ( ushort addr, int prefixLength ) : System
addr ushort
prefixLength int
Résultat System

IPv6Address() public méthode

public IPv6Address ( ushort addr, int prefixLength, int scopeId ) : System
addr ushort
prefixLength int
scopeId int
Résultat System

IsIPv4Compatible() public méthode

public IsIPv4Compatible ( ) : bool
Résultat bool

IsIPv4Mapped() public méthode

public IsIPv4Mapped ( ) : bool
Résultat bool

IsLoopback() public static méthode

public static IsLoopback ( IPv6Address addr ) : bool
addr IPv6Address
Résultat bool

Parse() public static méthode

public static Parse ( string ipString ) : IPv6Address
ipString string
Résultat IPv6Address

ToString() public méthode

Overrides System.Object.ToString to return this object rendered in a canonicalized notation
public ToString ( ) : string
Résultat string

ToString() public méthode

public ToString ( bool fullLength ) : string
fullLength bool
Résultat string

TryParse() public static méthode

public static TryParse ( string ipString, IPv6Address &result ) : bool
ipString string
result IPv6Address
Résultat bool

this() public méthode

public this ( int index ) : ushort
index int
Résultat ushort

Property Details

Loopback public_oe static_oe property

public static IPv6Address Loopback
Résultat IPv6Address

Unspecified public_oe static_oe property

public static IPv6Address Unspecified
Résultat IPv6Address