Dart.Ssh Namespace > Connection Class > OpenSession Method : OpenSession(Int32) Method |
'Declaration Public Overloads Function OpenSession( _ ByVal windowSize As Integer _ ) As Session
'Usage Dim instance As Connection Dim windowSize As Integer Dim value As Session value = instance.OpenSession(windowSize)
public Session OpenSession( int windowSize )
public: Session* OpenSession( int windowSize )
public: Session^ OpenSession( int windowSize )
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).