다음을 통해 공유


SymmetricKeyAlgorithm.Key Property

Gets or sets a SymmetricAlgorithm that is the key used to perform the cryptographic operations.

Namespace: Microsoft.Web.Services3.Security.Cryptography
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim symmetricKeyAlgorithm1 As SymmetricKeyAlgorithm

Dim returnValue As SymmetricAlgorithm
returnValue = symmetricKeyAlgorithm1.Key

Dim sampleValue As SymmetricAlgorithm
symmetricKeyAlgorithm1.Key = sampleValue

Syntax

'Declaration
Public MustOverride Property Key() As SymmetricAlgorithm
public abstract SymmetricAlgorithm Key {get; set;}
public:
property virtual SymmetricAlgorithm^ Key {
    SymmetricAlgorithm^ get();
    void set(SymmetricAlgorithm^ value);
}
public abstract SymmetricAlgorithm get_Key();
public abstract void set_Key(SymmetricAlgorithm);
public abstract function get Key() : SymmetricAlgorithm;
public abstract function set Key(SymmetricAlgorithm);

Property Value

A SymmetricAlgorithm that is the key used to perform the cryptographic operations.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SymmetricKeyAlgorithm Class
SymmetricKeyAlgorithm Members
Microsoft.Web.Services3.Security.Cryptography Namespace