C# Класс DnDns.Tools

Показать файл Открыть проект

Открытые методы

Метод Описание
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