C# Class DnDns.Tools

Afficher le fichier Open project: RELOAD-NET/RELOAD.NET

Méthodes publiques

Méthode Description
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

Method Details

DiscoverDnsServerAddresses() public static méthode

public static DiscoverDnsServerAddresses ( ) : IPAddressCollection
Résultat IPAddressCollection

DiscoverUnixDnsServerAddress() public static méthode

public static DiscoverUnixDnsServerAddress ( ) : string
Résultat string

GetServByPort() public static méthode

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)
Résultat string

IsPlatformLinuxUnix() public static méthode

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