MachineKeyProtection Enumeration
Specifies values that indicates whether data should be encrypted or decrypted, whether a hash-based message authentication code (HMAC) should be appended or validated, or both.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| All | Specifies that a hash-based message authentication code (HMAC) should be appended to the data and that the data should be encrypted (for the M:System.Web.Security.Encode method) or that the data should be both decrypted and validated (for the M:System.Web.Security.Decode method). | |
| Encryption | Specifies that the data should be encrypted (for the M:System.Web.Security.Encode method) or decrypted (for the M:System.Web.Security.Decode method). | |
| Validation | Specifies that a hash-based message authentication code (HMAC) should be appended to the data (for the M:System.Web.Security.Encode method) or validated (for the M:System.Web.Security.Decode method). |
Available since 4.0