SSLFTPClientServerCommonName Property
The name to be used when performing a name-check during
the validation of the server certificate.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public string ServerCommonName { get; set; }
Public Property ServerCommonName As String
Get
Set
public:
property String^ ServerCommonName {
String^ get ();
void set (String^ value);
}
member ServerCommonName : string with get, set
Property Value
String
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.