SocketTools .NET Edition

DnsClient Properties

The properties of the DnsClient class are listed below. For a complete list of DnsClient class members, see the DnsClient Members topic.

Public Instance Properties

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.

See Also

DnsClient Class | SocketTools Namespace