HostCertificateEvent Event

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

HostCertificateEvent Event

Fires when remote FTPS server provides his certificate.

[Visual Basic]
Public Event HostCertificateEvent() As FtpDLX.HostCertificateDelegate
[C#]
public event FtpDLX.HostCertificateDelegate HostCertificateEvent();
[JScript]
In JScript, you can handle the events defined by another class, but you cannot define your own.

Remarks

Once wodFtpDLX.NET connects to SSL/TLS server, it will receive server's certificate that holds information about server's validity. It will contain information such as server's name, organization, valid dates etc.. Certificates are usually signed by some known CA (Certificate Authority) whose responsibility is to prove that server is really the one he's representing to be.

wodFtpDLX.NET will try to detect if remote certificate should be trusted or not. If any errors are found, Args.ErrorText will contain line-by-line descriptions for all errors found, and Args.ErrorCode will contain enumeration of errors that were found. If ErrorText is empty (and ErrorCode is 0), certificate should be trusted.

If you think remote server's certificate is invalid, you should set Args.Accept parameter to False and wodFtpDLX.NET will immediately close the connection.

 

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.