Επεξεργασία

Κοινή χρήση μέσω


ProtectedDataCookieTransform Class

Definition

Provides cookie integrity and confidentiality by using the ProtectedData class. This class cannot be inherited.

public ref class ProtectedDataCookieTransform sealed : System::IdentityModel::CookieTransform
public sealed class ProtectedDataCookieTransform : System.IdentityModel.CookieTransform
type ProtectedDataCookieTransform = class
    inherit CookieTransform
Public NotInheritable Class ProtectedDataCookieTransform
Inherits CookieTransform
Inheritance
ProtectedDataCookieTransform

Remarks

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.

Constructors

ProtectedDataCookieTransform()

Creates a new instance of the ProtectedDataCookieTransform class.

Methods

Decode(Byte[])

Verifies data protection and returns the decrypted data.

Encode(Byte[])

Protects (encrypts) the specified data.

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also