Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to find Versioning Information

How to find Versioning Information

Scheduled Pinned Locked Moved C#
businesstutorialquestionannouncement
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike Bentzen
    wrote on last edited by
    #1

    Hello, How is it possible to determine which operating system is in use on the computer? XP Home or Professional or Vista Basic/Home Premium/Business etc. Similarly, how is it possible to determine which version of office is installed Home and Student, Professional, Ultimate etc.. Thanks

    V L 2 Replies Last reply
    0
    • M Mike Bentzen

      Hello, How is it possible to determine which operating system is in use on the computer? XP Home or Professional or Vista Basic/Home Premium/Business etc. Similarly, how is it possible to determine which version of office is installed Home and Student, Professional, Ultimate etc.. Thanks

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      Mike Bentzen wrote:

      How is it possible to determine which operating system is in use on the computer? XP Home or Professional or Vista Basic/Home Premium/Business etc.

      System.Environment class? http://www.c-sharpcorner.com/UploadFile/aaghany/SystemInfo12032005002119AM/SystemInfo.aspx[^]

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      All the world's a stage, And all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts... --William Shakespeare

      M 1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        Mike Bentzen wrote:

        How is it possible to determine which operating system is in use on the computer? XP Home or Professional or Vista Basic/Home Premium/Business etc.

        System.Environment class? http://www.c-sharpcorner.com/UploadFile/aaghany/SystemInfo12032005002119AM/SystemInfo.aspx[^]

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        All the world's a stage, And all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts... --William Shakespeare

        M Offline
        M Offline
        Mike Bentzen
        wrote on last edited by
        #3

        That shows you the version numbers but i cannot find how to locate or determine whether it is home or professional for xp or any of the different versions for vista. That class doesn't contain any other specifics.

        M 1 Reply Last reply
        0
        • M Mike Bentzen

          That shows you the version numbers but i cannot find how to locate or determine whether it is home or professional for xp or any of the different versions for vista. That class doesn't contain any other specifics.

          M Offline
          M Offline
          Mike Bentzen
          wrote on last edited by
          #4

          http://www.codeproject.com/KB/system/osversion_producttype.aspx I just found this article after searching for ages... doesn't contain any other information for vista though...

          1 Reply Last reply
          0
          • M Mike Bentzen

            Hello, How is it possible to determine which operating system is in use on the computer? XP Home or Professional or Vista Basic/Home Premium/Business etc. Similarly, how is it possible to determine which version of office is installed Home and Student, Professional, Ultimate etc.. Thanks

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            Hi, I saw an MSDN web page on the subject; it waw terribly complex, checking lots of things, and switching; I did not note the link. And then there is the registry key @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName" which is good enough for me. :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            Fixturized forever. :confused:


            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups