C# 클래스 System.Net.Topology.NetMaskExtensions

Provides extension methods for the T:System.Net.Topology.NetMask.
파일 보기 프로젝트 열기: nikeee/wake-on-lan

공개 메소드들

메소드 설명
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