AsymmetricSecurityKey.HasPrivateKey Method

Definition

When overridden in a derived class, gets a value that indicates whether the private key is available.

public:
 abstract bool HasPrivateKey();
public abstract bool HasPrivateKey ();
abstract member HasPrivateKey : unit -> bool
Public MustOverride Function HasPrivateKey () As Boolean

Returns

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

Applies to