Прочитај на енглеском Уреди

Делите путем


MachineKeyTransform Class

Definition

Protects session tokens with the cryptographic material specified in the <machineKey> section of the web.config or machine.config configuration file.

C#
public class MachineKeyTransform : System.IdentityModel.CookieTransform
Inheritance
MachineKeyTransform

Constructors

MachineKeyTransform()

Initializes a new instance of the MachineKeyTransform class.

Methods

Decode(Byte[])

Reverses the transform.

Encode(Byte[])

Applies the transform.

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

Производ Верзије
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1