Click or drag to resize

SymmetricAlgorithmKey Property

Gets or sets the secret key for the symmetric algorithm.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public virtual byte[] Key { get; set; }

Return Value

Byte
The secret key to use for the symmetric algorithm.
Exceptions
ExceptionCondition
ArgumentNullExceptionAn attempt was made to set the key to null.
CryptographicExceptionThe key size is invalid.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also