SSH Factory for .NET

IpClient Members

IpClient overview

Public Instance Constructors

IpClient Overloaded. Initializes a new instance of the IpClient class.

Public Instance Properties

Hostname The server hostname or IP address
Port The server port
Socket Gets a socket established after invoking the IpClient#Connect method.
Stream Gets InputStream from socket connection established with server. IpClient#Connect method must be invoked prior to invoking this method.
Timeout The timeout for establishing a connection in ms.

Public Instance Methods

Connect Establishes connection with server.
Disconnect Closes connection with server.
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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

IpClientConnectedEventOccurs after a successful connection to the server.
IpClientDisconnectedEventOccurs after connection to the server is released.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FireIpConnected Fires IpClientConnectedEvent. This event is fired upon establishing a connection with the server.
FireIpDisconnected Fires IpClientDisconnectedEvent. This event is fired upon closing connection with the server.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

IpClient Class | Jscape.IpClient Namespace