Gets or sets the secret key for the Crestron.SimplSharp.Cryptography.TripleDES algorithm.
Namespace: Crestron.SimplSharp.CryptographyAssembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntaxpublic override byte[] Key { get; set; }Return Value
ByteThe secret key for the Crestron.SimplSharp.Cryptography.TripleDES algorithm.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | An 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