System.Net.Topology.NetMaskExtensions.GetSiblingCount C# (CSharp) Method

GetSiblingCount() public static method

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
return int
        public static int GetSiblingCount(this NetMask mask) => GetSiblingCount(mask, SiblingOptions.ExcludeUnusable);

Same methods

NetMaskExtensions::GetSiblingCount ( this mask, SiblingOptions options ) : int
NetMaskExtensions