PeerCredential Class
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.
Contains the credentials used when authenticating a peer node within a peer mesh.
public ref class PeerCredential
public class PeerCredential
type PeerCredential = class
Public Class PeerCredential
- Inheritance
-
PeerCredential
Remarks
Instances of this class are used to specify the credentials needed for the particular security mode of a peer mesh. An instance of this type can be accessed using Credentials or Credentials.
Properties
Certificate |
Gets or sets an X509 certificate for the peer. |
MeshPassword |
Gets or sets the password used by the peer to authenticate with the peer mesh. |
MessageSenderAuthentication |
Gets or sets the message sender authentication validator. |
PeerAuthentication |
Gets or sets the peer authentication object. |
Methods
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) |
SetCertificate(StoreLocation, StoreName, X509FindType, Object) |
Sets the certificate with the specified search criteria. |
SetCertificate(String, StoreLocation, StoreName) |
Sets the certificate. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈