Click or drag to resize

TripleDESKey Property

Gets or sets the secret key for the Crestron.SimplSharp.Cryptography.TripleDES algorithm.

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

Return Value

Byte
The secret key for the Crestron.SimplSharp.Cryptography.TripleDES algorithm.
Exceptions
ExceptionCondition
ArgumentNullExceptionAn attempt was made to set the key to null.
CryptographicException An attempt was made to set a key whose length is invalid. -or- An attempt was made to set a weak key (see Crestron.SimplSharp.Cryptography.TripleDES.IsWeakKey(System.Byte[])).

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also