Creates a new Rlogin instance.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
public Rlogin() |
Visual Basic |
---|
Public Sub New |
Visual C++ |
---|
public: Rlogin() |
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")