DataProtector.Unprotect(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.