Share via


AsymmetricSecurityKey.HasPrivateKey Property

Definition

Caution

HasPrivateKey method is deprecated, please use PrivateKeyStatus instead.

This must be overridden to get a bool indicating if a private key exists.

[System.Obsolete("HasPrivateKey method is deprecated, please use PrivateKeyStatus instead.")]
public abstract bool HasPrivateKey { get; }
[<System.Obsolete("HasPrivateKey method is deprecated, please use PrivateKeyStatus instead.")>]
member this.HasPrivateKey : bool
Public MustOverride ReadOnly Property HasPrivateKey As Boolean

Property Value

Attributes

Applies to