Share via


IPAddress Members

The following tables list the members exposed by the IPAddress type.

Public Constructors

Name Description
Public Method IPAddress Overloaded. Initializes a new instance of the IPAddress class

Public Fields

Name Description
Public Field Static Any Represents an IPAddress object specifying a local Internet Protocol (IP) address that has a value of 0 (zero), which is equivalent to 0.0.0.0 in dotted-quad notation.
Public Field Static Loopback Represents an IPAddress object specifying an Internet Protocol (IP) loopback address that has a value of 0x000000000100007F, which is equivalent to 127.0.0.1 in dotted-quad notation.

Public Methods

Name Description
Public Method Equals Compares a specified IP address with the current IP address.
Public Method Equals (Inherited from Object.)
Public Method GetAddressBytes Provides a copy of the IPAddress as an array of bytes.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Static Parse Parses an IP address.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString Converts an Internet address to its standard notation.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

IPAddress Class
System.Net Namespace