Skip to main content

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.

ParameterTypeDescription
newAddresslong

IPAddress(byte[] newAddressBytes)

public IPAddress(byte[] newAddressBytes) : this(((((newAddressBytes[3] << 0x18) | (newAddressBytes[2] << 0x10)) | (newAddressBytes[1] << 0x08)) | newAddressBytes[0]) & ((long)0xFFFFFFFF))

No description available.

ParameterTypeDescription
newAddressBytesbyte[]

Properties

AddressFamily

public AddressFamily AddressFamily { get; }

No description available.

Methods

IPAddress( 0x0000000000000000)

public static readonly IPAddress Any = new IPAddress(0x0000000000000000)

No description available.

ParameterTypeDescription
0x0000000000000000``

Returns IPAddress Any = new

IPAddress( 0x000000000100007F)

public static readonly IPAddress Loopback = new IPAddress(0x000000000100007F)

No description available.

ParameterTypeDescription
0x000000000100007F``

Returns IPAddress Loopback = new

IPAddress( 0x00000000FFFFFFFF)

public static readonly IPAddress Broadcast = new IPAddress(0x00000000FFFFFFFF)

No description available.

ParameterTypeDescription
0x00000000FFFFFFFF``

Returns IPAddress Broadcast = new

Equals(object obj)

public override bool Equals(object obj)

Is the given RoutedEventHandlerInfo equals the current (inherited)

ParameterTypeDescription
objobject

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.

ParameterTypeDescription
ipStringstring
addressout IPAddress

Returns bool

Parse(string ipString)

public static IPAddress Parse(string ipString)

No description available.

ParameterTypeDescription
ipStringstring

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.

ParameterTypeDescription
addressIPAddress

Returns bool

HostToNetworkOrder(short host)

public static short HostToNetworkOrder(short host)

No description available.

ParameterTypeDescription
hostshort

Returns short

HostToNetworkOrder(int host)

public static int HostToNetworkOrder(int host)

No description available.

ParameterTypeDescription
hostint

Returns int

HostToNetworkOrder(long host)

public static long HostToNetworkOrder(long host)

No description available.

ParameterTypeDescription
hostlong

Returns long

NetworkToHostOrder(short network)

public static short NetworkToHostOrder(short network)

No description available.

ParameterTypeDescription
networkshort

Returns short

NetworkToHostOrder(int network)

public static int NetworkToHostOrder(int network)

No description available.

ParameterTypeDescription
networkint

Returns int

NetworkToHostOrder(long network)

public static long NetworkToHostOrder(long network)

No description available.

ParameterTypeDescription
networklong

Returns long

ToString()

public override string ToString()

String representation (inherited)

Returns string

Fields

None

public static readonly IPAddress None

No description available.