You can use the Windows Embedded CE
Remarks
It is also possible to detect other versions of Windows, such as Microsoft Windows 95 or Microsoft Windows 2000. For an example of how to use this technique, see How to: Implement Runtime Platform and Version Checking.
See Also