RsaSecurityKey.HasPrivateKey Method

Definition

Gets a value that indicates whether the private key is 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