Dart.Ssh Namespace > Connection Class > OpenSession Method : OpenSession() Method |
'Declaration Public Overloads Function OpenSession() As Session
'Usage Dim instance As Connection Dim value As Session value = instance.OpenSession()
public Session OpenSession()
public: Session* OpenSession();
public: Session^ OpenSession();
Exception | Description |
---|---|
System.InvalidOperationException | Thrown when the underlying connection is closed or not authenticated. |
Works only after a successful authentication. No limit is imposed on the number of concurrent sessions (however, some SSH servers may enforce a limit). An initial window size of 30KB is sent to the server.