Provides cookie integrity and confidentiality by using the ProtectedData class. This class cannot be inherited.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Verifies data protection and returns the decrypted data.(Overrides CookieTransform.Decode(Byte).)
Protects (encrypts) the specified data.(Overrides CookieTransform.Encode(Byte).)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Due to the nature of the ProtectedData class, cookies which use this transform can only be read by the same computer that wrote them. As such, this transform is not appropriate for use in applications that run on a web server farm.
Available since 4.5
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.