Assembly: mscorlib (in mscorlib.dll)
/** @property */ public byte get_Key () /** @property */ public void set_Key (byte value)
public override function get Key () : byte public override function set Key (value : byte)
Property ValueThe secret key for the DES algorithm.
An attempt was made to set the key to a null reference (Nothing in Visual Basic).
An attempt was made to set a key whose length is not equal to BlockSizeValue.
If this property is a null reference (Nothing in Visual Basic) when it is used, GenerateKey is called to create a new random value.
The length of the key must be equal to BlockSizeValue.
This algorithm supports a key length of 64 bits.
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.