CngKey.IsMachineKey Property

Definition

Gets the scope (machine or user) of the key.

public:
 property bool IsMachineKey { bool get(); };
public bool IsMachineKey { get; }
public bool IsMachineKey { [System.Security.SecurityCritical] get; }
member this.IsMachineKey : bool
[<get: System.Security.SecurityCritical>]
member this.IsMachineKey : bool
Public ReadOnly Property IsMachineKey As Boolean

Property Value

true if the key is available on a machine-wide basis; false if the key is only for the current user.

Attributes

Applies to