CngKey.KeySize Property

 

Gets the key size in bits.

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

public int KeySize { get; }

Property Value

Type: System.Int32

The key size in bits.

.NET Framework
Available since 3.5
Return to top
Show: