Implements the functionality of a BSD rloginsh client.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
[SerializableAttribute] public class Rlogin : Component |
Visual Basic |
---|
<SerializableAttribute> _ Public Class Rlogin _ Inherits Component |
Visual C++ |
---|
[SerializableAttribute] public ref class Rlogin : public Component |
Remarks
Note: Some systems limit the username to eight (8) characters or less. The Telnet Factory for .NET implementation does not restrict the length of usernames. If you have difficulty logging in to a Remote Host using a non-truncated username, try using the username truncated to 8 characters.
Rlogin requires Remote Host authorization to establish a session. This is accomplished using a combination of two system files, hosts.equiv and .rhosts, depending on your system. Consult your system documentation for more information about managing remote logins.
Examples
To establish a connection to a Remote Host, create an Rlogin instance and provide the
required hostname and username.
CopyRlogin Connect
CopyRlogin Connect

Rlogin rlogin = new Rlogin(); rlogin.Connect("remotehost.com", "username");

Private WithEvents rlogin As Rlogin rlogin = New Rlogin rlogin.Connect("remotehost.com", "username")
Inheritance Hierarchy
System..::..Object
System..::..MarshalByRefObject
System.ComponentModel..::..Component
Jscape.Telnet..::..Rlogin
System..::..MarshalByRefObject
System.ComponentModel..::..Component
Jscape.Telnet..::..Rlogin