15 references to OSVersion
System.ServiceModel (15)
System\ServiceModel\Channels\AppContainerInfo.cs (1)
34
isAppContainerSupported = OSEnvironmentHelper.IsAtLeast(
OSVersion
.Win8);
System\ServiceModel\Channels\WebSocketHelper.cs (1)
219
return OSEnvironmentHelper.IsAtLeast(
OSVersion
.Win8);
System\ServiceModel\OSEnvironmentHelper.cs (13)
11
private static readonly
OSVersion
currentVersion;
23
currentVersion =
OSVersion
.PreWinXP;
27
currentVersion =
OSVersion
.WinXP;
31
currentVersion =
OSVersion
.Win2003;
35
currentVersion =
OSVersion
.WinVista;
39
currentVersion =
OSVersion
.Win7;
43
currentVersion =
OSVersion
.Win8;
48
currentVersion =
OSVersion
.PostWin8;
54
currentVersion =
OSVersion
.Unknown;
63
return IsAtLeast(
OSVersion
.WinVista);
86
internal static bool IsAtLeast(
OSVersion
version)
91
static bool IsAtLeast(
OSVersion
version, byte servicePack)
93
Fx.Assert(version !=
OSVersion
.Unknown, "Unknown OS");