Udostępnij za pośrednictwem


CreateNewKeyControl.Key Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Gets or sets the key for the algorithm.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design.dll)

Syntax

'Declaration
Public Property Key As Byte()
public byte[] Key { get; set; }
public:
property array<unsigned char>^ Key {
    array<unsigned char>^ get ();
    void set (array<unsigned char>^ value);
}
public function get Key () : byte[]
public function set Key (value : byte[])

Field Value

The key for the algorithm

See Also

CreateNewKeyControl Class

Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design Namespace