Assembly: mscorlib (in mscorlib.dll)
/** @property */ public byte get_Key () /** @property */ public void set_Key (byte value)
Property ValueThe secret key to use for the symmetric algorithm.
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.
If this property is a null reference (Nothing in Visual Basic) when it is used, the GenerateKey method is called to create a new random value.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.