Click or drag to resize

OSVersion Properties

The OSVersion type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsDarkModeSupported
Checks if dark mode is supported.
Public propertyStatic memberIsVistaOrLater
Returns true if the system runs the windows vista operating system or later.
Public propertyStatic memberIsWindows10OrLater
Returns true if the system runs the Windows 10 operating system or later.
Public propertyStatic memberIsWindows11OrLater
Returns true if the system runs the Windows 11 operating system or later.
Public propertyStatic memberIsWindows7OrLater
Returns true if the system runs the Windows 7 operating system or later.
Public propertyStatic memberIsWindows8OrLater
Returns true if the system runs the Windows 8 operating system or later.
Public propertyStatic memberIsXpOrLater
Returns true if the system runs the windows xp operating system or later.
Top
See Also