The Whois type exposes the following members.
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.) |