Export (0) Print
Expand All

SymmetricAlgorithm.KeyValue Field

Represents the secret key for the symmetric algorithm.

[Visual Basic]
Protected KeyValue() As Byte
[C#]
protected byte[] KeyValue;
[C++]
protected: unsigned char KeyValue __gc[];
[JScript]
protected var KeyValue : Byte[];

Remarks

The secret key is used both for encryption and for decryption. For a symmetric algorithm to be effective, 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 LegalKeySizes.

This field is accessed through the Key property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SymmetricAlgorithm Class | SymmetricAlgorithm Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2015 Microsoft