PowerTCP SSH and SFTP for .NET
OnChallenge Method




A ChallengeEventArgs that contains the event data.
Raises the Challenge event.
Syntax
'Declaration
 
Public Overridable Sub OnChallenge( _
   ByVal e As ChallengeEventArgs _
) 
'Usage
 
Dim instance As SshConnection
Dim e As ChallengeEventArgs
 
instance.OnChallenge(e)
public virtual void OnChallenge( 
   ChallengeEventArgs e
)
public: virtual void OnChallenge( 
   ChallengeEventArgs* e
) 
public:
virtual void OnChallenge( 
   ChallengeEventArgs^ e
) 

Parameters

e
A ChallengeEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.

Note to Inheritors: When overriding OnChallenge in a derived class, be sure to call the base class OnChallenge method so that registered delegates receive the event.

See the ComponentBase.SynchronizingObject property for important information on updating UI controls from within derived classes.

See Also

Reference

SshConnection Class
SshConnection Members


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