CspKeyContainerInfo.HardwareDevice Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value indicating whether a key is a hardware key.

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

member HardwareDevice : bool with get

Property Value

Type: System.Boolean

true if the key is a hardware key; otherwise, false.

Exception Condition
CryptographicException

The cryptographic service provider cannot be found.

The following code example creates a key container and retrieves information about that container.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: