Udostępnij za pośrednictwem


Certificate.HasPrivateKey Property

Definition

Gets a value indicating whether the certificate has a private key.

public:
 property bool HasPrivateKey { bool get(); };
bool HasPrivateKey();
public bool HasPrivateKey { get; }
var boolean = certificate.hasPrivateKey;
Public ReadOnly Property HasPrivateKey As Boolean

Property Value

Boolean

bool

True if the certificate has a private key; otherwise false.

Applies to