Share via


ProtectedKey.Unprotect Method

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.

Returns the decrypted symmetric key.

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

Syntax

'Declaration
PublicOverridableFunctionUnprotectAs Byte()
publicvirtual byte[] Unprotect()
public:
virtualarray<unsigned char>^ Unprotect()
publicfunctionUnprotect() : byte[]

Return Value

Unencrypted symmetric key. It is the responsibility of the caller of this method to clear the returned byte array.

See Also

ProtectedKey Class

Microsoft.Practices.EnterpriseLibrary.Security.Cryptography Namespace

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.