10 references to IsVistaOrGreater
System.ServiceModel (10)
System\ServiceModel\Activation\Utility.cs (1)
298
Fx.Assert(OSEnvironmentHelper.
IsVistaOrGreater
, "This method can be called only on Vista or greater.");
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\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\Security\SecurityUtilsEx.cs (1)
28
if (OSEnvironmentHelper.
IsVistaOrGreater
)