Export (0) Print
Expand All

ProtectedDataCookieTransform.Decode Method

.NET Framework 4.6 and 4.5

Verifies data protection and returns the decrypted data.

Namespace:  System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override byte[] Decode(
	byte[] encoded
)

Parameters

encoded
Type: System.Byte[]

Data previously returned from the Encode method.

Return Value

Type: System.Byte[]
The decrypted data that was originally protected.

ExceptionCondition
ArgumentNullException

encoded is null.

ArgumentException

encoded contains zero bytes.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft