12 references to MachineKeyCompatibilityMode
System.Web (12)
Configuration\MachineKeySection.cs (10)
67
new ConfigurationProperty("compatibilityMode", typeof(
MachineKeyCompatibilityMode
),
MachineKeyCompatibilityMode
.Framework20SP1, null, null, ConfigurationPropertyOptions.None);
129
internal static
MachineKeyCompatibilityMode
CompatMode
272
private
MachineKeyCompatibilityMode
_compatibilityMode = (
MachineKeyCompatibilityMode
)(-1); // dummy value used to mean uninitialized
274
[ConfigurationProperty("compatibilityMode", DefaultValue =
MachineKeyCompatibilityMode
.Framework20SP1)]
275
public
MachineKeyCompatibilityMode
CompatibilityMode
281
_compatibilityMode = (
MachineKeyCompatibilityMode
)base[_propCompatibilityMode];
548
bool createIV = signData || ((ivType != IVType.None) && (CompatMode >
MachineKeyCompatibilityMode
.Framework20SP1));
1313
ConfigUtil.SetFX45DefaultValue(this, _propCompatibilityMode,
MachineKeyCompatibilityMode
.Framework45);
Security\Cryptography\AspNetCryptoServiceProvider.cs (1)
35
IsDefaultProvider = (machineKeySection != null && machineKeySection.CompatibilityMode >=
MachineKeyCompatibilityMode
.Framework45);
Security\FormsAuthentication.cs (1)
833
bool legacyPadding = !willEncrypt || (MachineKeySection.CompatMode ==
MachineKeyCompatibilityMode
.Framework20SP1);