The Rsh type exposes the following members.

Constructors

  Name Description
Public method Rsh
Creates a new Rsh instance.

Methods

  Name Description
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Dispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Protected method Dispose(Boolean)
Clean up any resources being used.
(Overrides Component..::..Dispose(Boolean).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method Execute(String, String, String)
Executes a command on the Remote Host.
Public method Execute(String, String, String, String)
Executes a command on the Remote Host.
Public method Execute(String, Int32, String, String, String)
Executes a command on the Remote Host.
Protected method Finalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public method FireRshConnectedEvent
Fires ConnectedEvent event.
Public method FireRshDisconnectedEvent
Fires DisconnectedEvent event.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method GetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Properties

  Name Description
Protected property CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected property DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public property Encoding
Gets/Sets the Encoding used when converting between string and bytes. Default is Encoding.UTF8
Protected property Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public property LicenseKey
License key.
Public property Port
Gets/Sets the Remote Host Rsh port number.
Public property ReadTimeout
Gets or sets the amount of time a Socket will wait to receive data once initiated.
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)

Events

  Name Description
Public event ConnectedEvent
Occurs after a successful connection to the Remote Host.
Public event DisconnectedEvent
Occurs after a successful disconnection from the Remote Host.
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)

See Also