C# Class BF2Statistics.Net.DnsCacheResult

This object represents a DNS Cache Entry
Mostrar archivo Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Properties

Property Type Description
Error System.Exception
HostName string

Public Methods

Method Description
DnsCacheResult ( string hostname, IPAddress expecting = null ) : System

Creates a new instance of DnsCacheResult

Method Details

DnsCacheResult() public method

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 ///
return System

Property Details

Error public_oe property

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

HostName public_oe property

The hostname used to grab the IP Address from the windows DNS cache
public string HostName
return string