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

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

공개 메소드들

메소드 설명
GetBroadcastAddress ( this address, NetMask mask ) : IPAddress

Gets the broadcast address of an T:System.Net.IPAddress.

GetHostIdentifier ( this address, NetMask mask ) : IPAddress

Gets the host identifier (rest) an T:System.Net.IPAddress.

GetNetworkPrefix ( this address, NetMask mask ) : IPAddress

Gets the network prefix of an T:System.Net.IPAddress.

GetSiblings ( this address, NetMask mask ) : IEnumerable

Enumerates through the siblings of an T:System.Net.IPAddress in a network. Compliant to RFC 950 (2^n-2).

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

Enumerates through the siblings of an T:System.Net.IPAddress in a network.

메소드 상세

GetBroadcastAddress() 공개 정적인 메소드

Gets the broadcast address of an T:System.Net.IPAddress.
public static GetBroadcastAddress ( this address, NetMask mask ) : IPAddress
address this The address
mask NetMask The net mask of the network
리턴 IPAddress

GetHostIdentifier() 공개 정적인 메소드

Gets the host identifier (rest) an T:System.Net.IPAddress.
public static GetHostIdentifier ( this address, NetMask mask ) : IPAddress
address this The address
mask NetMask The net mask of the network
리턴 IPAddress

GetNetworkPrefix() 공개 정적인 메소드

Gets the network prefix of an T:System.Net.IPAddress.
public static GetNetworkPrefix ( this address, NetMask mask ) : IPAddress
address this The address
mask NetMask The net mask of the network
리턴 IPAddress

GetSiblings() 공개 정적인 메소드

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
리턴 IEnumerable

GetSiblings() 공개 정적인 메소드

Enumerates through the siblings of an T:System.Net.IPAddress in a network.
public static GetSiblings ( this address, NetMask mask, SiblingOptions options ) : IEnumerable
address this The address
mask NetMask The net mask of the network
options SiblingOptions Options which addresses to include an which not
리턴 IEnumerable