C# 클래스 DnDns.Tools

파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET

공개 메소드들

메소드 설명
DiscoverDnsServerAddresses ( ) : IPAddressCollection
DiscoverUnixDnsServerAddress ( ) : string
GetServByPort ( short port, ProtocolType proto ) : string

Look up the port names for the given array of port numbers.

IsPlatformLinuxUnix ( ) : bool

Tests to see if this is running on a Linux or Unix Platform

메소드 상세

DiscoverDnsServerAddresses() 공개 정적인 메소드

public static DiscoverDnsServerAddresses ( ) : IPAddressCollection
리턴 IPAddressCollection

DiscoverUnixDnsServerAddress() 공개 정적인 메소드

public static DiscoverUnixDnsServerAddress ( ) : string
리턴 string

GetServByPort() 공개 정적인 메소드

Look up the port names for the given array of port numbers.
public static GetServByPort ( short port, ProtocolType proto ) : string
port short An array of port numbers.
proto ProtocolType The protocol type. (TCP or UPD)
리턴 string

IsPlatformLinuxUnix() 공개 정적인 메소드

Tests to see if this is running on a Linux or Unix Platform
public static IsPlatformLinuxUnix ( ) : bool
리턴 bool