PeerCredential.Certificate Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets an X509 certificate for the peer.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public X509Certificate2 Certificate { get; set; }

Property Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

The X509 certificate for the peer.

This property contains a X509Certificate2 instance used when authenticating neighbors in the peer mesh. An instance must be specified if the credential type chosen is PeerTransportCredentialType.Certificate. If PeerTransportCredentialType.Password is chosen, this property is optional.

.NET Framework
Available since 3.0
Return to top
Show: