AesCryptoServiceProvider.Key Property
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.
Gets or sets the symmetric key that is used for encryption and decryption.
public:
virtual property cli::array <System::Byte> ^ Key { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public override byte[] Key { get; set; }
public override byte[] Key { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.Key : byte[] with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.Key : byte[] with get, set
Public Overrides Property Key As Byte()
Property Value
Byte[]
The symmetric key that is used for encryption and decryption.
- Attributes
Exceptions
The value for the key is null
.
The size of the key is invalid.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.