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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for