System.Net.Topology.IPAddressExtensions.GetSiblings C# (CSharp) Method

GetSiblings() public static method

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
return IEnumerable
        public static IEnumerable<IPAddress> GetSiblings(this IPAddress address, NetMask mask)
        {
            return GetSiblings(address, mask, SiblingOptions.ExcludeUnusable);
        }

Same methods

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