C# Class System.Net.Topology.NetMaskExtensions

Provides extension methods for the T:System.Net.Topology.NetMask.
Afficher le fichier Open project: nikeee/wake-on-lan

Méthodes publiques

Méthode Description
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.

Method Details

GetSiblingCount() public static méthode

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
Résultat int

GetSiblingCount() public static méthode

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
Résultat int