This documentation is archived and is not being maintained.

X509CertificateInitiatorServiceCredential.SetCertificate Method

Gets or sets the certificate to use to encrypt messages sent to the client by the service. This setting is used only by bindings that are configured with the MutualCertificateDuplex message security authentication mode.

Name Description
X509CertificateInitiatorServiceCredential.SetCertificate (String, StoreLocation, StoreName) Enables you to specify the certificate to use for encrypting messages for the client by specifying the subject distinguished name. This setting is used only by bindings that are configured with the MutualCertificateDuplex message security authentication mode.
X509CertificateInitiatorServiceCredential.SetCertificate (StoreLocation, StoreName, X509FindType, Object) Specifies the certificate to use for encrypting messages for the client. This setting gets used only by bindings that are configured with the MutualCertificateDuplex message security authentication mode.
Show: