9 references to IsWindowsNT
System.Data (9)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
1880
static internal readonly bool IsPlatformNT5 = (ADP.
IsWindowsNT
&& (Environment.OSVersion.Version.Major >= 5));
1915
if (
IsWindowsNT
) { // we can reference SysTx just not use it on Win9X, we can't ever reference SysES on Win9X
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
402
if ((null == poolOptions) && ADP.
IsWindowsNT
) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
469
Debug.Assert(ADP.
IsWindowsNT
, "Attempting to construct a connection pool on Win9x?");
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (2)
55
Debug.Assert(null == poolGroupOptions || ADP.
IsWindowsNT
, "should not have pooling options on Win9x");
168
Debug.Assert(ADP.
IsWindowsNT
, "should not be pooling on Win9x");
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (2)
33
static private readonly byte[] NetworkSid = (ADP.
IsWindowsNT
? CreateWellKnownSid(WellKnownSidType.NetworkSid) : null);
99
if (!ADP.
IsWindowsNT
) {
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
260
_enlist = ConvertValueToBoolean(KEY.Enlist, ADP.
IsWindowsNT
);