Share via


DataProtector.Unprotect(Byte[]) 方法

定義

取消保護指定的受保護資料。

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()

參數

encryptedData
Byte[]

要解除保護的已加密資料。

傳回

Byte[]

包含純文字資料的位元組陣列。

例外狀況

encryptedDatanull

encryptedData 包含無效的用途。

適用於