CngKey::IsMachineKey Property

 

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

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public:
property bool IsMachineKey {
	bool get();
}

Property Value

Type: System::Boolean

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

.NET Framework
Available since 3.5
Return to top
Show: