Beispiel #1
0
        public bool IsBladeServer()
        {
            bool functionReturnValue    = false;
            OperatingSystemVersion Host = new OperatingSystemVersion();

            if (IsWin2003Server())
            {
                functionReturnValue = (bool)(SuiteMask & VerSuiteMask.VER_SUITE_BLADE);
            }
            return(functionReturnValue);
        }
Beispiel #2
0
        public bool IsWinVistaPlus()
        {
            OperatingSystemVersion Host = new OperatingSystemVersion();

            return((Host.OSPlatformId == OSPlatformId.Win32NT) & (Host.Version.Major >= 6));
        }
Beispiel #3
0
        public bool IsWin2000Plus()
        {
            OperatingSystemVersion Host = new OperatingSystemVersion();

            return((Host.OSPlatformId == OSPlatformId.Win32NT) & (Host.Version.Major == 5 & Host.Version.Minor >= 0));
        }