ProtectedDataCookieTransform.Decode(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.
Verifies data protection and returns the decrypted data.
public:
override cli::array <System::Byte> ^ Decode(cli::array <System::Byte> ^ encoded);
public override byte[] Decode (byte[] encoded);
override this.Decode : byte[] -> byte[]
Public Overrides Function Decode (encoded As Byte()) As Byte()
Parameters
- encoded
- Byte[]
Data previously returned from the Encode(Byte[]) method.
Returns
Byte[]
The decrypted data that was originally protected.
Exceptions
encoded
is null
.
encoded
contains zero bytes.
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.