![]() dnsPortDefault
|
A constant value which specifies the default port number. |
![]() dnsRetries
|
A constant value which specifies the default number of retries. |
![]() dnsTimeout
|
A constant value which specifies the default timeout period. |
DnsClient
Constructor |
Initializes a new instance of the DnsClient class. |
HostAlias
|
Returns the aliases for a given host name. |
MailExchange
|
Returns the mail exchange servers for a given domain. |
NameServer
|
Change or return the Internet address for a nameserver |
Handle
|
Returns the internal handle that is used by the class library. |
HostAddress
|
Set or return the Internet address for the remote host. |
HostAliases
|
Return the number of aliases for the specified host name. |
HostFile
|
Set or return the name of an alternate host file. |
HostInfo
|
Returns information about the host operating system. |
HostName
|
Set or return the name of the remote host. |
HostProtocol
|
Set the protocol to return service information for the specified host. |
HostServices
|
Return the well-known services available for the specified host. |
IsBlocked
|
Determine if the component is blocked performing an operation. |
IsInitialized
|
Determine if the component has been initialized. |
LastError
|
Set or return the last error that occurred. |
LastErrorString
|
Return a description of the last error that occurred. |
LocalAddress
|
Return the Internet address for the local system. |
LocalDomain
|
Set or return the domain name for the local system. |
LocalName
|
Return the host name for the local system. |
MailExchanges
|
Return the number of mail exchange records for the specified host. |
Options
|
Gets and sets a value which specifies one or more client options. |
RemotePort
|
Set or return the port number used to establish a connection. |
RemoteService
|
Set or return the name of the service associated with the remote port. |
Retry
|
Set the number of times the control attempts to resolve a hostname. |
ServerAddress
|
Return the address of the nameserver that resolved the query. |
ThreadModel
|
Gets and sets a value which specifies the threading model for the class instance. |
ThrowError
|
Enable or disable exceptions being raised when a method fails. |
Timeout
|
Set or return the amount of time until a blocking operation fails. |
Trace
|
Enable or disable socket function level trace logging. |
TraceFile
|
Specify the socket function trace output file. |
TraceFlags
|
Set or return the socket function tracing flags. |
Version
|
Gets a value which returns the current version of the DnsClient class library. |
AttachThread
|
Attach an instance of the class to the current thread |
Cancel
|
Cancels the current blocking network operation. |
Dispose
|
Overloaded. Releases all resources used by DnsClient. |
Equals
(inherited from Object) |
Determines whether the specified Object is equal to the current Object. |
GetHashCode
(inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType
(inherited from Object) |
Gets the Type of the current instance. |
Initialize
|
Overloaded. Initializes the component with the specified runtime license key. |
MatchHost
|
Overloaded. Match a host name against one more strings that may contain wildcards. |
Query
|
Perform a general nameserver query for a specific type of record. |
Reset
|
Reset the internal state of the component. |
Resolve
|
Resolve a hostname to an Internet address. |
ToString
(inherited from Object) |
Returns a String that represents the current Object. |
Uninitialize
|
Uninitialize the component and unload the networking library. |
OnCancel
|
Occurs when a blocking network operation is canceled using the Cancel method. |
OnError
|
Occurs when a method fails. |
OnTimeout
|
Occurs when a blocking network operation exceeds the timeout period specified by the Timeout property. |
Dispose
|
Overloaded. Releases the unmanaged resources allocated by the DnsClient class and optionally releases the managed resources. |
Finalize
|
Destroys an instance of the class, releasing the resources allocated for the client session and unloading the networking library. |
MemberwiseClone
(inherited from Object) |
Creates a shallow copy of the current Object. |
DnsClient Class | SocketTools Namespace