FtpDLX.HostCertificateDelegate Delegate

See Also

WeOnlyDo.Client Namespace

Requirements

Namespace: WeOnlyDo.Client

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

Assembly: WeOnlyDo.Client.FTP (in WeOnlyDo.Client.FTP.dll)

Language

Visual Basic

C#

JScript

Show All

Sender
The source of the event.
Args
Holds arguments for the event.
See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

FtpDLX.HostCertificateDelegate Delegate

Fires when remote FTPS server provides his certificate.

[Visual Basic]
Public Delegate Sub FtpDLX.HostCertificateDelegate( _    ByVal Sender As Object, _    ByVal Args As HostCertificateArgs _ )
[C#]
public delegate void FtpDLX.HostCertificateDelegate(    object Sender,    HostCertificateArgs Args );
[JScript]
public delegate FtpDLX.HostCertificateDelegate(    Sender : Object,    Args : HostCertificateArgs )

Parameters

Sender
The source of the event.
Args
Holds arguments for the event.

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

Namespace: WeOnlyDo.Client

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

Assembly: WeOnlyDo.Client.FTP (in WeOnlyDo.Client.FTP.dll)

See Also

WeOnlyDo.Client Namespace

 

 


© WeOnlyDo Software. All Rights Reserved.