PowerTCP SSH and SFTP for .NET
Data Event




Raised when the Marshal method is called by the user.
Syntax
'Declaration
 
Public Event Data As Ssh.SshDataEventHandler
'Usage
 
Dim instance As Ssh
Dim handler As Ssh.SshDataEventHandler
 
AddHandler instance.Data, handler
public event Ssh.SshDataEventHandler Data
public: __event Ssh.SshDataEventHandler* Data
public:
event Ssh.SshDataEventHandler^ Data
Event Data

The event handler receives an argument of type SshDataEventArgs containing data related to this event. The following SshDataEventArgs properties provide information specific to this event.

PropertyDescription
Data Gets data provided by Data and Log events. (Inherited from Dart.Ssh.DataEventArgs)
Message Returns the message argument provided by the Marshal method. (Inherited from Dart.Ssh.UserStateEventArgs)
Session Gets the SessionStream the data was read from.  
UserState Returns the user state argument provided by the Marshal method. (Inherited from Dart.Ssh.UserStateEventArgs)
Remarks

This event is always raised on the UI thread so that data can be used with UI components.

See SynchronizingObject for important information on updating UI controls from within this event.

See Also

Reference

Ssh Class
Ssh Members


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