Click or drag to resize
IpAddress Class
Represents an IPv4 address.
Inheritance Hierarchy
SystemObject
  Network.Sim.Network.IpIpAddress

Namespace: Network.Sim.Network.Ip
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class IpAddress

The IpAddress type exposes the following members.

Constructors
  NameDescription
Public methodIpAddress(Byte)
Initializes a new instance of the IpAddress class using the specified byte array.
Public methodIpAddress(Int32)
Initializes a new instance of the IpAddress class using the specified 32-bit integer value.
Public methodIpAddress(String)
Initializes a new instance of the IpAddress class using the specified string.
Top
Properties
  NameDescription
Public propertyBytes
The IP address as an array of bytes.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to this IpAddress instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code of this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Parses an IPv4 address from the specified string.
Public methodStatic memberParseCIDRNotation
Parses an IP address/netmask combination in CIDR notation.
Public methodToString
Returns a textual representation of this instance.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberBitwiseAnd
Performs a bit-wise OR of the specified IpAddress objects.
Public operatorStatic memberEquality
Determines whether the specified IpAddress objects are equal.
Public operatorStatic memberInequality
Determines whether the specified IpAddress objects are unequal.
Top
See Also