Detecting the windows version running on your machine

As I said in the previous version of this article that as soon as the information about Windows 98 becomes available, I will update the files. Since Microsoft has updated the SDK documentation for Windows 98 OS information, I have modified the source code for exclusive detection for Windows 98.

The following modification has been made for checking the major and minor version of OS.


if ((versionInfo.dwMajorVersion > 4) || ((versionInfo.dwMajorVersion == 4) && (versionInfo.dwMinorVersion > 0))) {

m_stInfo = _T ("Windows 98"); }
Otherwise the rest of code remains the same. In the next update I will try to add detection for Windows NT 5.0. With the release of beta version most of the information is available.

Download source - 37 KB



Comments

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • With the average hard drive now averaging one terabyte in size, the fallout from the explosion of user-created data has become an overwhelming volume of potential evidence that law-enforcement and corporate investigators spend countless hours examining. Join Us and SANS' Rob Lee for our 45-minute webinar, A Triage and Collection Strategy for Time-Sensitive Investigations, will demonstrate how to: Identify the folders and files that often contain key insights Reduce the time spent sifting through content by …

Most Popular Programming Stories

More for Developers

RSS Feeds