Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CspKeyContainerInfo.HardwareDevice Property

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.


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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft