SocketTools .NET Edition

SmtpClient.CertificatePassword Property

Gets and sets the password associated with the client certificate.

[Visual Basic]
Public Property CertificatePassword As String
[C#]
public string CertificatePassword {get; set;}

Property Value

A string which specifies the client certificate password.

Remarks

This property sets the password that should be used to access a certificate in the specified certificate store. It is only required when the CertificateStore property specifies a file that contains a certificate and private key in PKCS #12 format.

See Also