Provides cookie integrity and confidentiality by using the ProtectedData class. This class cannot be inherited.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Thetype exposes the following members.
|Decode||Verifies data protection and returns the decrypted data. (Overrides CookieTransform.Decode(Byte).)|
|Encode||Protects (encrypts) the specified data. (Overrides CookieTransform.Encode(Byte).)|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ToString||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.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.