Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IPAddress Methods

The IPAddress type exposes the following members.

  Name Description
Public method Equals Compares two IP addresses. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAddressBytes Provides a copy of the IPAddress as an array of bytes.
Public method GetHashCode Returns a hash value for an IP address. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member HostToNetworkOrder(Int16) Converts a short value from host byte order to network byte order.
Public method Static member HostToNetworkOrder(Int32) Converts an integer value from host byte order to network byte order.
Public method Static member HostToNetworkOrder(Int64) Converts a long value from host byte order to network byte order.
Public method Static member IsLoopback Indicates whether the specified IP address is the loopback address.
Public method MapToIPv4 Maps the IPAddress object to an IPv4 address.
Public method MapToIPv6 Maps the IPAddress object to an IPv6 address.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member NetworkToHostOrder(Int16) Converts a short value from network byte order to host byte order.
Public method Static member NetworkToHostOrder(Int32) Converts an integer value from network byte order to host byte order.
Public method Static member NetworkToHostOrder(Int64) Converts a long value from network byte order to host byte order.
Public method Static member Parse Converts an IP address string to an IPAddress instance.
Public method ToString Converts an Internet address to its standard notation. (Overrides Object.ToString().)
Public method Static member TryParse Determines whether a string is a valid IP address.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.