This class represents a full IPv4 network address including an IP address and a port number.

C# | Visual Basic | Managed C++ |
[SerializableAttribute] public sealed class NetworkAddress : IComparable, IComparable<NetworkAddress>, ISerializable, IStringSerializable
<SerializableAttribute> _ Public NotInheritable Class NetworkAddress _ Implements IComparable, IComparable(Of NetworkAddress), ISerializable, IStringSerializable
[SerializableAttribute] public ref class NetworkAddress sealed : IComparable, IComparable<NetworkAddress^>, ISerializable, IStringSerializable

All Members | Constructors | Methods | Properties | Fields | Events |
Icon | Member | Description |
---|---|---|
![]() | NetworkAddressNew(String) |
Create a network address from a string.
|
![]() | NetworkAddressNew(IPAddress, Int32) |
Create a network address from a given IP address and port number.
|
![]() | NetworkAddressNew(NetworkAddress) |
The copy constructor.
|
![]() | NetworkAddressNew() |
The default constructor that creates an uninitialized address.
|
![]() ![]() | Any |
Represents an uninitialized network address.
|
![]() ![]() | CompareIPAddresses(IPAddress, IPAddress) |
Tests whether the two given IP addresses are identical.
|
![]() | CompareTo(Object) | |
![]() | DeserializeFrom(ConsumableBlock, ConsumableBlock) | |
![]() | Equals(Object) | (Overrides Object.Equals(Object).) |
![]() | Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode() | (Overrides Object.GetHashCode().) |
![]() | GetType() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HostIPAddress |
The IP address of the host.
|
![]() | HostIPAddressAsString |
The string representation of the IP address of the host.
|
![]() | IsMulticastAddress |
True if this address is a multicast address.
|
![]() ![]() | IsMulticastIPAddress(IPAddress) |
Tests whether the given IP address is a multicast address.
|
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PortNumber |
The port number.
|
![]() | SerializableInfo | |
![]() | SerializeTo(ConsumableBlock, IList<(Of Block>)) | |
![]() | ToString() | (Overrides Object.ToString().) |

Object | |
![]() | NetworkAddress |