The Whois type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Whois()()()() |
Initializes new instance of the Ftp class (IPv4 is used).
| |
| Whois(AddressFamily) |
Initializes new instance of the Ftp class.
|
Methods
| Name | Description | |
|---|---|---|
| Attach(Socket) |
Attaches client to specified socket.
(Inherited from TcpTextClient.) | |
| Attach(Socket, Boolean) |
Attaches client to specified socket.
(Inherited from TcpTextClient.) | |
| AttachSSL |
Attaches client to specified socket.
(Inherited from TcpTextClient.) | |
| Close()()()() |
Issues quit command (CloseCommand()()()() method), closes the connection, disposes the object.
(Inherited from TcpTextClient.) | |
| Close(Boolean) |
Issues quit command (CloseCommand()()()() method) and closes the connection.
(Inherited from TcpTextClient.) | |
| CloseCommand |
Derived classes should override this method to
perform specific closing action.
(Inherited from TcpTextClient.) | |
| Connect(String) |
Connects to Whois server on port 43.
| |
| Connect(IPEndPoint, Boolean) |
Connects to server.
(Inherited from TcpTextClient.) | |
| Connect(String, Int32) |
Connects to server. Use ConnectSSL(String, Int32) when SSL connection is needed.
(Inherited from TcpTextClient.) | |
| Connect(IPAddress, Int32, Boolean) |
Connects to server.
(Inherited from TcpTextClient.) | |
| Connect(String, Int32, Boolean) |
Connects to server.
(Inherited from TcpTextClient.) | |
| ConnectSSL |
Connects to server using SSL.
(Inherited from TcpTextClient.) | |
| Dispose |
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
(Inherited from TcpTextClient.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetServerGreeting |
Override this function to get server's greeting.
(Inherited from TcpTextClient.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Query |
Performs single who is query.
Opens and Cloeses connection.
| |
| Send |
Sends the text command to server.
Adds "\r\n" to the command.
(Inherited from TcpTextClient.) | |
| SwitchToSSL |
Switches to SSL stream, authenticates as client.
(Inherited from TcpTextClient.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Connected |
Gets a value indicating whether the underlying Socket is connected to a remote host.
(Inherited from TcpTextClient.) | |
| Reader | StreamReader used for reading from network stream or SSL stream.
(Inherited from TcpTextClient.) | |
| ReceiveTimeout |
Gets or sets the amount of time a TcpClient will wait to receive data once a read operation is initiated.
(Inherited from TcpTextClient.) | |
| SendTimeout |
Gets or sets the amount of time a TcpClient will wait for a send operation to complete successfully.
(Inherited from TcpTextClient.) | |
| Server |
Gets or sets WHOIS server address.
| |
| Socket |
Gets the underlying Socket.
(Inherited from TcpTextClient.) | |
| SSLConfiguration |
Represents SSL configuration (client certificates, enabled SSL protocols).
(Inherited from TcpTextClient.) | |
| SSLStream |
Gets SslStream or null if SSL is not enabled.
(Inherited from TcpTextClient.) | |
| Stream |
Gets SslStream or NetworkStream for current connection.
(Inherited from TcpTextClient.) | |
| Writer | StringWriter used for writing to network stream or SSL stream.
(Inherited from TcpTextClient.) |
Events
| Name | Description | |
|---|---|---|
| ServerCertificateValidate |
Event which is called for custom server certificate validation.
(Inherited from TcpTextClient.) |