ClientCredentials.Peer Property
Definition
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.
Controls the credentials that a peer node uses to authenticate itself to other nodes in the mesh, as well as authentication settings that a peer node uses to authenticate other peer nodes.
public:
property System::ServiceModel::Security::PeerCredential ^ Peer { System::ServiceModel::Security::PeerCredential ^ get(); };
public System.ServiceModel.Security.PeerCredential Peer { get; }
member this.Peer : System.ServiceModel.Security.PeerCredential
Public ReadOnly Property Peer As PeerCredential
Property Value
A PeerCredential that represents the current peer credential.
Examples
The following code shows how to access this property.
public void snippet26(CalculatorClient client)
{
PeerCredential peercred = client.ClientCredentials.Peer;
}
Remarks
You can use the object returned by this property to configure the credential by calling its members, such as Certificate, MeshPassword, MessageSenderAuthentication, and PeerAuthentication.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour