The Whois type exposes the following members.

Constructors

  NameDescription
Public methodWhois()()()()
Initializes new instance of the Ftp class (IPv4 is used).
Public methodWhois(AddressFamily)
Initializes new instance of the Ftp class.

Methods

  NameDescription
Public methodAttach(Socket)
Attaches client to specified socket.
(Inherited from TcpTextClient.)
Public methodAttach(Socket, Boolean)
Attaches client to specified socket.
(Inherited from TcpTextClient.)
Public methodAttachSSL
Attaches client to specified socket.
(Inherited from TcpTextClient.)
Public methodClose()()()()
Issues quit command (CloseCommand()()()() method), closes the connection, disposes the object.
(Inherited from TcpTextClient.)
Public methodClose(Boolean)
Issues quit command (CloseCommand()()()() method) and closes the connection.
(Inherited from TcpTextClient.)
Protected methodCloseCommand
Derived classes should override this method to perform specific closing action.
(Inherited from TcpTextClient.)
Public methodConnect(String)
Connects to Whois server on port 43.
Public methodConnect(IPEndPoint, Boolean)
Connects to server.
(Inherited from TcpTextClient.)
Public methodConnect(String, Int32)
Connects to server. Use ConnectSSL(String, Int32) when SSL connection is needed.
(Inherited from TcpTextClient.)
Public methodConnect(IPAddress, Int32, Boolean)
Connects to server.
(Inherited from TcpTextClient.)
Public methodConnect(String, Int32, Boolean)
Connects to server.
(Inherited from TcpTextClient.)
Public methodConnectSSL
Connects to server using SSL.
(Inherited from TcpTextClient.)
Public methodDispose
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
(Inherited from TcpTextClient.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetServerGreeting
Override this function to get server's greeting.
(Inherited from TcpTextClient.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQuery
Performs single who is query. Opens and Cloeses connection.
Public methodSend
Sends the text command to server. Adds "\r\n" to the command.
(Inherited from TcpTextClient.)
Protected methodSwitchToSSL
Switches to SSL stream, authenticates as client.
(Inherited from TcpTextClient.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyConnected
Gets a value indicating whether the underlying Socket is connected to a remote host.
(Inherited from TcpTextClient.)
Public propertyReader
StreamReader used for reading from network stream or SSL stream.
(Inherited from TcpTextClient.)
Public propertyReceiveTimeout
Gets or sets the amount of time a TcpClient will wait to receive data once a read operation is initiated.
(Inherited from TcpTextClient.)
Public propertySendTimeout
Gets or sets the amount of time a TcpClient will wait for a send operation to complete successfully.
(Inherited from TcpTextClient.)
Public propertyServer
Gets or sets WHOIS server address.
Public propertySocket
Gets the underlying Socket.
(Inherited from TcpTextClient.)
Public propertySSLConfiguration
Represents SSL configuration (client certificates, enabled SSL protocols).
(Inherited from TcpTextClient.)
Public propertySSLStream
Gets SslStream or null if SSL is not enabled.
(Inherited from TcpTextClient.)
Public propertyStream
Gets SslStream or NetworkStream for current connection.
(Inherited from TcpTextClient.)
Public propertyWriter
StringWriter used for writing to network stream or SSL stream.
(Inherited from TcpTextClient.)

Events

  NameDescription
Public eventServerCertificateValidate
Event which is called for custom server certificate validation.
(Inherited from TcpTextClient.)

See Also