IPAddress Class
Namespace: System.Net · Assembly: GHIElectronics.TinyCLR.Networking
No description available.
public class IPAddress
Constructors
IPAddress(long newAddress)
public IPAddress(long newAddress)
No description available.
| Parameter | Type | Description |
|---|---|---|
newAddress | long |
IPAddress(byte[] newAddressBytes)
public IPAddress(byte[] newAddressBytes) : this(((((newAddressBytes[3] << 0x18) | (newAddressBytes[2] << 0x10)) | (newAddressBytes[1] << 0x08)) | newAddressBytes[0]) & ((long)0xFFFFFFFF))
No description available.
| Parameter | Type | Description |
|---|---|---|
newAddressBytes | byte[] |
Properties
AddressFamily
public AddressFamily AddressFamily { get; }
No description available.
Methods
IPAddress( 0x0000000000000000)
public static readonly IPAddress Any = new IPAddress(0x0000000000000000)
No description available.
| Parameter | Type | Description |
|---|---|---|
0x0000000000000000 | `` |
Returns IPAddress Any = new
IPAddress( 0x000000000100007F)
public static readonly IPAddress Loopback = new IPAddress(0x000000000100007F)
No description available.
| Parameter | Type | Description |
|---|---|---|
0x000000000100007F | `` |
Returns IPAddress Loopback = new
IPAddress( 0x00000000FFFFFFFF)
public static readonly IPAddress Broadcast = new IPAddress(0x00000000FFFFFFFF)
No description available.
| Parameter | Type | Description |
|---|---|---|
0x00000000FFFFFFFF | `` |
Returns IPAddress Broadcast = new
Equals(object obj)
public override bool Equals(object obj)
Is the given RoutedEventHandlerInfo equals the current (inherited)
| Parameter | Type | Description |
|---|---|---|
obj | object |
Returns bool
GetAddressBytes()
public byte[] GetAddressBytes()
No description available.
Returns byte[]
TryParse(string ipString, out IPAddress address)
public static bool TryParse(string ipString, out IPAddress address)
No description available.
| Parameter | Type | Description |
|---|---|---|
ipString | string | |
address | out IPAddress |
Returns bool
Parse(string ipString)
public static IPAddress Parse(string ipString)
No description available.
| Parameter | Type | Description |
|---|---|---|
ipString | string |
Returns IPAddress
GetHashCode()
public override int GetHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table (inherited)
Returns int
IsLoopback(IPAddress address)
public static bool IsLoopback(IPAddress address)
No description available.
| Parameter | Type | Description |
|---|---|---|
address | IPAddress |
Returns bool
HostToNetworkOrder(short host)
public static short HostToNetworkOrder(short host)
No description available.
| Parameter | Type | Description |
|---|---|---|
host | short |
Returns short
HostToNetworkOrder(int host)
public static int HostToNetworkOrder(int host)
No description available.
| Parameter | Type | Description |
|---|---|---|
host | int |
Returns int
HostToNetworkOrder(long host)
public static long HostToNetworkOrder(long host)
No description available.
| Parameter | Type | Description |
|---|---|---|
host | long |
Returns long
NetworkToHostOrder(short network)
public static short NetworkToHostOrder(short network)
No description available.
| Parameter | Type | Description |
|---|---|---|
network | short |
Returns short
NetworkToHostOrder(int network)
public static int NetworkToHostOrder(int network)
No description available.
| Parameter | Type | Description |
|---|---|---|
network | int |
Returns int
NetworkToHostOrder(long network)
public static long NetworkToHostOrder(long network)
No description available.
| Parameter | Type | Description |
|---|---|---|
network | long |
Returns long
ToString()
public override string ToString()
String representation (inherited)
Returns string
Fields
None
public static readonly IPAddress None
No description available.