Telnet Factory for .NET

Rlogin Class

Implements the functionality of a BSD rloginsh client.

For a list of all members of this type, see Rlogin Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         Jscape.Telnet.Rlogin

public class Rlogin : Component

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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.

Example

To establish a connection to a Remote Host, create an Rlogin instance and provide the required hostname and username.

[C#]
Rlogin rlogin = new Rlogin();
rlogin.Connect("remotehost.com", "username");

[Visual Basic]
Private WithEvents rlogin As Rlogin
rlogin = New Rlogin
rlogin.Connect("remotehost.com", "username")

Requirements

Namespace: Jscape.Telnet

Assembly: Jscape.Telnet (in Jscape.Telnet.dll)

See Also

Rlogin Members | Jscape.Telnet Namespace