X509AsymmetricSecurityKey.HasPrivateKey Method

Definition

Gets a value that indicates whether the private key is a available.

public:
 override bool HasPrivateKey();
public override bool HasPrivateKey ();
override this.HasPrivateKey : unit -> bool
Public Overrides Function HasPrivateKey () As Boolean

Returns

true when the private key is available; otherwise, false.

Applies to