C# Class BF2Statistics.Net.DnsCacheResult

This object represents a DNS Cache Entry
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Méthodes publiques

Свойство Type Description
Error System.Exception
HostName string

Méthodes publiques

Méthode Description
DnsCacheResult ( string hostname, IPAddress expecting = null ) : System

Creates a new instance of DnsCacheResult

Method Details

DnsCacheResult() public méthode

Creates a new instance of DnsCacheResult
public DnsCacheResult ( string hostname, IPAddress expecting = null ) : System
hostname string The hostname to check against the DNS cache
expecting System.Net.IPAddress /// If expecting a IPAddress from , than provide it here /// to unlock the use of ///
Résultat System

Property Details

Error public_oe property

If this Dns query was faulted, then the error is stored here
public Exception,System Error
Résultat System.Exception

HostName public_oe property

The hostname used to grab the IP Address from the windows DNS cache
public string HostName
Résultat string