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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk