Key Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the key to use in the hash algorithm.

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

public virtual CryptoKey Key { get; set; }

Property Value

Type: System.Security.Cryptography..::..CryptoKey
The key to use in the hash algorithm.

ExceptionCondition
CryptographicException

An attempt was made to change the Key property after hashing has begun.

This property is the public accessor for the KeyValue field.

Show: