PowerTCP SSH and SFTP for .NET
Break Method




The number of milliseconds the virtual "break" key should be considered depressed.
Specifies whether a reply is desired.
Sends a BREAK request to the server.
Syntax
'Declaration
 
Public Function Break( _
   ByVal breakLength As Integer, _
   ByVal wantReply As Boolean _
) As Boolean
'Usage
 
Dim instance As Session
Dim breakLength As Integer
Dim wantReply As Boolean
Dim value As Boolean
 
value = instance.Break(breakLength, wantReply)
public bool Break( 
   int breakLength,
   bool wantReply
)
public: bool Break( 
   int breakLength,
   bool wantReply
) 
public:
bool Break( 
   int breakLength,
   bool wantReply
) 

Parameters

breakLength
The number of milliseconds the virtual "break" key should be considered depressed.
wantReply
Specifies whether a reply is desired.
Exceptions
ExceptionDescription
System.IO.IOException Thrown if the Session or the underlying connection is closed.
Remarks
Available by accessing the Session property and is provided for low-level control. Complies with RFC 4335.
See Also

Reference

Session Class
Session Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic