Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PeerCredential::Certificate Property

 

Gets or sets an X509 certificate for the peer.

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

public:
property X509Certificate2^ Certificate {
	X509Certificate2^ get();
	void set(X509Certificate2^ value);
}

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:
© 2017 Microsoft