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