Bewerken

Delen via


DataProtector.Unprotect(Byte[]) Method

Definition

Unprotects the specified protected data.

public:
 cli::array <System::Byte> ^ Unprotect(cli::array <System::Byte> ^ encryptedData);
public byte[] Unprotect (byte[] encryptedData);
member this.Unprotect : byte[] -> byte[]
Public Function Unprotect (encryptedData As Byte()) As Byte()

Parameters

encryptedData
Byte[]

The encrypted data to be unprotected.

Returns

Byte[]

A byte array that contains the plain-text data.

Exceptions

encryptedData is null.

encryptedData contained an invalid purpose.

Applies to