Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

X509ServiceCertificateAuthentication Class

Definition

Namespace:
System.ServiceModel.Security
Assemblies:
System.ServiceModel.dll, System.ServiceModel.Primitives.dll
Assembly:
System.ServiceModel.Primitives.dll
Assembly:
System.ServiceModel.dll
Package:
System.ServiceModel.Primitives v10.0.652802
Source:
X509ServiceCertificateAuthentication.cs
Source:
X509ServiceCertificateAuthentication.cs
Source:
X509ServiceCertificateAuthentication.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents the settings used by the client proxy to authenticate service certificates that are obtained using SSL/TLS negotiation.

public ref class X509ServiceCertificateAuthentication sealed
public ref class X509ServiceCertificateAuthentication
public sealed class X509ServiceCertificateAuthentication
public class X509ServiceCertificateAuthentication
type X509ServiceCertificateAuthentication = class
Public NotInheritable Class X509ServiceCertificateAuthentication
Public Class X509ServiceCertificateAuthentication
Inheritance
X509ServiceCertificateAuthentication

Examples

The following example shows how to use this class.

ClientCredentials clientCreds =
 new ClientCredentials();
Console.WriteLine(
 clientCreds.ServiceCertificate.Authentication);
Dim clientCreds As New ClientCredentials()
Console.WriteLine(clientCreds.ServiceCertificate.Authentication)

Constructors

Name Description
X509ServiceCertificateAuthentication()

Initializes a new instance of the X509ServiceCertificateAuthentication class.

Properties

Name Description
CertificateValidationMode

Gets or sets the certificate validation mode.

CustomCertificateValidator

Gets or sets a custom client certificate validator.

RevocationMode

Gets or sets the certificate revocation mode for ChainTrust and PeerOrChainTrust X.509 certificate validation mode.

TrustedStoreLocation

Gets or sets the trusted store location under which context the client certificate chain is validated.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to


Feedback

Was this page helpful?