SFTP.CryptoInformationEvent Event

Fires before wodSFTP established encrypted connection with the server.

[Visual Basic]
Public CryptoInformationEvent As WeOnlyDo.Client.SFTP.CryptoInformationDelegate
[C#]
public CryptoInformationDelegate CryptoInformationEvent;

Remarks

CryptoInformation event is fired after the first crypto negotiation has taken place, but before any sensitive information is sent to server (such as username or password). This event provides you with information about selected encryption protocols and remote server type.

At this point you can decide if you want to continue with the connection, or you want to abort it (by setting Accept parameter to False) in which case wodSFTP.NET will drop the connection.

See Also

SFTP Class | SFTP Members | WeOnlyDo.Client Namespace