edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SSLFTPClientServerCommonName Property

The name to be used when performing a name-check during the validation of the server certificate.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssl
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public string ServerCommonName { get; set; }

Property Value

String

Remarks

An important part of validating the certificate is to perform a name-check. In a name-check the Common Name on the certificate is compared with the host-name of the FTP server that we believe we are connected to. Unless this property is set explicitly, the Common Name is assumed to be the same as the host-name that is used to connect to the server.

See Also