10 references to WhenSupported
System (4)
net\System\Net\HttpListener.cs (2)
2104
if (policy.PolicyEnforcement == PolicyEnforcement.
WhenSupported
)
2198
if (policy.PolicyEnforcement == PolicyEnforcement.
WhenSupported
) {
net\System\Net\SecureProtocols\_NegoState.cs (2)
190
if (_ExtendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.
WhenSupported
) { flags |= ContextFlags.AllowMissingBindings; }
472
if (_ExtendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.
WhenSupported
)
System.IdentityModel (4)
System\IdentityModel\Diagnostics\SecurityTraceRecordHelper.cs (1)
149
ExtendedProtectionPolicy extendedProtection = new ExtendedProtectionPolicy(PolicyEnforcement.
WhenSupported
, channelBinding);
System\IdentityModel\SecurityUtils.cs (2)
935
if (_policyEnforcement == PolicyEnforcement.
WhenSupported
)
946
case PolicyEnforcement.
WhenSupported
:
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (1)
192
if (policyHelper.PolicyEnforcement == PolicyEnforcement.
WhenSupported
)
System.ServiceModel (1)
System\ServiceModel\Security\WindowsSspiNegotiation.cs (1)
358
if (policyHelper.PolicyEnforcement == PolicyEnforcement.
WhenSupported
)
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseSettings.cs (1)
85
enforce = PolicyEnforcement.
WhenSupported
;