C# Класс System.Net.Topology.IPAddressExtensions

Provides extension methods for the T:System.Net.IPAddress.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetBroadcastAddress ( this address, NetMask mask ) : IPAddress

Gets the broadcast address of an T:System.Net.IPAddress.

GetHostIdentifier ( this address, NetMask mask ) : IPAddress

Gets the host identifier (rest) an T:System.Net.IPAddress.

GetNetworkPrefix ( this address, NetMask mask ) : IPAddress

Gets the network prefix of an T:System.Net.IPAddress.

GetSiblings ( this address, NetMask mask ) : IEnumerable

Enumerates through the siblings of an T:System.Net.IPAddress in a network. Compliant to RFC 950 (2^n-2).

GetSiblings ( this address, NetMask mask, SiblingOptions options ) : IEnumerable

Enumerates through the siblings of an T:System.Net.IPAddress in a network.

Описание методов

GetBroadcastAddress() публичный статический Метод

Gets the broadcast address of an T:System.Net.IPAddress.
public static GetBroadcastAddress ( this address, NetMask mask ) : IPAddress
address this The address
mask NetMask The net mask of the network
Результат IPAddress

GetHostIdentifier() публичный статический Метод

Gets the host identifier (rest) an T:System.Net.IPAddress.
public static GetHostIdentifier ( this address, NetMask mask ) : IPAddress
address this The address
mask NetMask The net mask of the network
Результат IPAddress

GetNetworkPrefix() публичный статический Метод

Gets the network prefix of an T:System.Net.IPAddress.
public static GetNetworkPrefix ( this address, NetMask mask ) : IPAddress
address this The address
mask NetMask The net mask of the network
Результат IPAddress

GetSiblings() публичный статический Метод

Enumerates through the siblings of an T:System.Net.IPAddress in a network. Compliant to RFC 950 (2^n-2).
public static GetSiblings ( this address, NetMask mask ) : IEnumerable
address this The address
mask NetMask The net mask of the network
Результат IEnumerable

GetSiblings() публичный статический Метод

Enumerates through the siblings of an T:System.Net.IPAddress in a network.
public static GetSiblings ( this address, NetMask mask, SiblingOptions options ) : IEnumerable
address this The address
mask NetMask The net mask of the network
options SiblingOptions Options which addresses to include an which not
Результат IEnumerable