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

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

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

Метод Описание
GetSiblingCount ( this mask ) : int

Gets the number of siblings an T:System.Net.IPAddress can have in a given network. Compliant to RFC 950 (2^n-2).

GetSiblingCount ( this mask, SiblingOptions options ) : int

Gets the number of siblings an T:System.Net.IPAddress can have in a given network.

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

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

Gets the number of siblings an T:System.Net.IPAddress can have in a given network. Compliant to RFC 950 (2^n-2).
public static GetSiblingCount ( this mask ) : int
mask this The net mask of the network
Результат int

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

Gets the number of siblings an T:System.Net.IPAddress can have in a given network.
public static GetSiblingCount ( this mask, SiblingOptions options ) : int
mask this The net mask of the network
options SiblingOptions Options which addresses to include an which not
Результат int