edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
[FTPS Only] The name to be used when performing a name-check during the validation of the server certificate.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public string ServerCommonName { get; set; }
Visual Basic
Public Property ServerCommonName As String
	Get
	Set
Visual C++
public:
property String^ ServerCommonName {
	String^ get ();
	void set (String^ value);
}

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