SymmetricAlgorithm.KeyValue Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the secret key for the symmetric algorithm.
protected: cli::array <System::Byte> ^ KeyValue;
protected byte[]? KeyValue;
protected byte[] KeyValue;
val mutable KeyValue : byte[]
Protected KeyValue As Byte()
Field Value
Remarks
The secret key is used both for encryption and for decryption. For a symmetric algorithm to be successful, the secret key must be known only to the sender and the receiver. The valid key sizes are specified by the particular symmetric algorithm implementation and are listed in the LegalKeySizes property.
This field is accessed through the Key property.