C# Class System.Net.IPAddress

ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
Any IPAddress
Broadcast IPAddress
IPv6Any IPAddress
IPv6Loopback IPAddress
IPv6None IPAddress
Loopback IPAddress
None IPAddress

Private Properties

Property Type Description
Equals bool
IPAddress System.Diagnostics
IPAddress System.Diagnostics
Snapshot IPAddress

Public Methods

Method Description
Equals ( object comparand ) : bool
GetAddressBytes ( ) : byte[]
GetHashCode ( ) : int
HostToNetworkOrder ( int host ) : int
HostToNetworkOrder ( long host ) : long
HostToNetworkOrder ( short host ) : short
IPAddress ( byte address ) : System.Diagnostics
IPAddress ( byte address, long scopeid ) : System.Diagnostics
IPAddress ( long newAddress ) : System.Diagnostics
IsLoopback ( IPAddress address ) : bool
MapToIPv4 ( ) : IPAddress
MapToIPv6 ( ) : IPAddress
NetworkToHostOrder ( int network ) : int
NetworkToHostOrder ( long network ) : long
NetworkToHostOrder ( short network ) : short
Parse ( string ipString ) : IPAddress
ToString ( ) : string
TryParse ( string ipString, IPAddress &address ) : bool

Private Methods

Method Description
Equals ( object comparandObj, bool compareScopeId ) : bool
IPAddress ( int newAddress ) : System.Diagnostics
IPAddress ( ushort numbers, uint scopeid ) : System.Diagnostics
Snapshot ( ) : IPAddress

Method Details

Equals() public method

public Equals ( object comparand ) : bool
comparand object
return bool

GetAddressBytes() public method

public GetAddressBytes ( ) : byte[]
return byte[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

HostToNetworkOrder() public static method

public static HostToNetworkOrder ( int host ) : int
host int
return int

HostToNetworkOrder() public static method

public static HostToNetworkOrder ( long host ) : long
host long
return long

HostToNetworkOrder() public static method

public static HostToNetworkOrder ( short host ) : short
host short
return short

IPAddress() public method

public IPAddress ( byte address ) : System.Diagnostics
address byte
return System.Diagnostics

IPAddress() public method

public IPAddress ( byte address, long scopeid ) : System.Diagnostics
address byte
scopeid long
return System.Diagnostics

IPAddress() public method

public IPAddress ( long newAddress ) : System.Diagnostics
newAddress long
return System.Diagnostics

IsLoopback() public static method

public static IsLoopback ( IPAddress address ) : bool
address IPAddress
return bool

MapToIPv4() public method

public MapToIPv4 ( ) : IPAddress
return IPAddress

MapToIPv6() public method

public MapToIPv6 ( ) : IPAddress
return IPAddress

NetworkToHostOrder() public static method

public static NetworkToHostOrder ( int network ) : int
network int
return int

NetworkToHostOrder() public static method

public static NetworkToHostOrder ( long network ) : long
network long
return long

NetworkToHostOrder() public static method

public static NetworkToHostOrder ( short network ) : short
network short
return short

Parse() public static method

public static Parse ( string ipString ) : IPAddress
ipString string
return IPAddress

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

public static TryParse ( string ipString, IPAddress &address ) : bool
ipString string
address IPAddress
return bool

Property Details

Any public_oe static_oe property

public static IPAddress,System.Net Any
return IPAddress

Broadcast public_oe static_oe property

public static IPAddress,System.Net Broadcast
return IPAddress

IPv6Any public_oe static_oe property

public static IPAddress,System.Net IPv6Any
return IPAddress

IPv6Loopback public_oe static_oe property

public static IPAddress,System.Net IPv6Loopback
return IPAddress

IPv6None public_oe static_oe property

public static IPAddress,System.Net IPv6None
return IPAddress

Loopback public_oe static_oe property

public static IPAddress,System.Net Loopback
return IPAddress

None public_oe static_oe property

public static IPAddress,System.Net None
return IPAddress