Bewerken

Share via


PeerCredential Class

Definition

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