Export (0) Print
Expand All

IPAddress Members

IPAddress overview

Public Constructors

public constructorIPAddress Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the IPAddress class.

Public Fields

public fieldstatic (Shared in Visual Basic)Any

Supported by the .NET Compact Framework.

Provides an IP address indicating that the server should listen for client activity on all network interfaces. This field is read-only.
public fieldstatic (Shared in Visual Basic)Broadcast

Supported by the .NET Compact Framework.

Provides the IP broadcast address. This field is read-only.
public fieldstatic (Shared in Visual Basic)IPv6Any The Socket.Bind method uses the IPv6Any field to indicate that a Socket should listen for client activity on all network interfaces.
public fieldstatic (Shared in Visual Basic)IPv6Loopback Provides the IP loopback address. This property is read-only.
public fieldstatic (Shared in Visual Basic)IPv6None Provides an IP address indicating that no network interface should be used. This property is read-only.
public fieldstatic (Shared in Visual Basic)Loopback

Supported by the .NET Compact Framework.

Provides the IP loopback address. This field is read-only.
public fieldstatic (Shared in Visual Basic)None

Supported by the .NET Compact Framework.

Provides an IP address indicating that no network interface should be used. This field is read-only.

Public Properties

public propertyAddress

Supported by the .NET Compact Framework.

Obsolete. An Internet Protocol (IP) address.
public propertyAddressFamily Gets the address family of the IP address.
public propertyScopeId Gets or sets the IPv6 address scope identifier.

Public Methods

public methodEquals

Supported by the .NET Compact Framework.

Overridden. Compares two IP addresses.
public methodGetAddressBytes
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns a hash value for an IP address.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)HostToNetworkOrder

Supported by the .NET Compact Framework.

Overloaded. Converts a value from host byte order to network byte order.
public methodstatic (Shared in Visual Basic)IsLoopback

Supported by the .NET Compact Framework.

Indicates whether the specified IP address is the loopback address.
public methodstatic (Shared in Visual Basic)NetworkToHostOrder

Supported by the .NET Compact Framework.

Overloaded. Converts a number from network byte order to host byte order.
public methodstatic (Shared in Visual Basic)Parse

Supported by the .NET Compact Framework.

Converts an IP address string to an IPAddress instance.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts an Internet address to its standard notation.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

IPAddress Class | System.Net Namespace

Show:
© 2014 Microsoft