23 references to OSEnvironmentHelper
System.ServiceModel (23)
System\ServiceModel\Activation\AspNetCompatibilityRequirementsAttribute.cs (1)
18
AspNetCompatibilityRequirementsMode requirementsMode =
OSEnvironmentHelper
.IsApplicationTargeting45 ?
System\ServiceModel\Activation\Utility.cs (1)
298
Fx.Assert(
OSEnvironmentHelper
.IsVistaOrGreater, "This method can be called only on Vista or greater.");
System\ServiceModel\Channels\AppContainerInfo.cs (1)
34
isAppContainerSupported =
OSEnvironmentHelper
.IsAtLeast(OSVersion.Win8);
System\ServiceModel\Channels\HttpRequestContext.cs (1)
833
if (listenerContext.Request.ContentLength64 == -1 && !
OSEnvironmentHelper
.IsVistaOrGreater)
System\ServiceModel\Channels\SharedConnectionListener.cs (3)
548
if (
OSEnvironmentHelper
.IsVistaOrGreater)
662
bool notNecessary = !
OSEnvironmentHelper
.IsVistaOrGreater && listenerUserSid.Equals(new SecurityIdentifier(WellKnownSidType.LocalSystemSid, null));
680
notNecessary = !
OSEnvironmentHelper
.IsVistaOrGreater && myUserSid.Equals(listenerUserSid);
System\ServiceModel\Channels\TransportDefaults.cs (6)
271
if (
OSEnvironmentHelper
.IsApplicationTargeting45)
273
return 12 *
OSEnvironmentHelper
.ProcessorCount;
282
if (
OSEnvironmentHelper
.IsApplicationTargeting45)
284
return 2 *
OSEnvironmentHelper
.ProcessorCount;
304
if (
OSEnvironmentHelper
.IsApplicationTargeting45)
306
return 12 *
OSEnvironmentHelper
.ProcessorCount;
System\ServiceModel\Channels\WebSocketHelper.cs (1)
219
return
OSEnvironmentHelper
.IsAtLeast(OSVersion.Win8);
System\ServiceModel\Configuration\ExtensionsSection.cs (2)
91
if (
OSEnvironmentHelper
.IsApplicationTargeting45)
118
if (
OSEnvironmentHelper
.IsApplicationTargeting45)
System\ServiceModel\Diagnostics\PerformanceCounters.cs (1)
78
scope =
OSEnvironmentHelper
.IsVistaOrGreater ? PerformanceCounterScope.ServiceOnly : PerformanceCounterScope.Off;
System\ServiceModel\Diagnostics\PerformanceCountersFactory.cs (3)
21
if (
OSEnvironmentHelper
.IsVistaOrGreater)
62
if (
OSEnvironmentHelper
.IsVistaOrGreater)
97
if (
OSEnvironmentHelper
.IsVistaOrGreater)
System\ServiceModel\Dispatcher\ServiceThrottle.cs (2)
22
internal static int DefaultMaxConcurrentCallsCpuCount = DefaultMaxConcurrentCalls *
OSEnvironmentHelper
.ProcessorCount;
23
internal static int DefaultMaxConcurrentSessionsCpuCount = DefaultMaxConcurrentSessions *
OSEnvironmentHelper
.ProcessorCount;
System\ServiceModel\Security\SecurityUtilsEx.cs (1)
28
if (
OSEnvironmentHelper
.IsVistaOrGreater)