Gets and sets a value that specifies the name of the security certificate.
A string which specifies the certificate name.
The CertificateName property is used to specify the name of a certificate to use when establishing a secure connection. If the application is designed to function as a server, then this certificate will be provided to the client when negotiating the secure session. If the application is designed to function as a client, then this property is used to specify the name of a client certificate to be sent to the server for authentication purposes.
When the certificate store is searched for a matching certificate, it will first search for any certificate with a "friendly name" matches the propertyvalue. If no valid certificate is found, it will then search for a certificate with a matching common name.
This property should be set before calling the Accept method for a secure connection in a server application, or prior to establishing a secure connection with a remote host using the Connect method.
Certificates may be installed and viewed on the local system with CertMgr.exe, a utility which is available as part of the Microsoft Platform SDK.
FileTransfer Class | SocketTools Namespace