Muokkaa

Jaa


SymmetricAlgorithm.KeyValue Field

Definition

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

Byte[]

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