Results 1 to 2 of 2

Thread: Getting Windows 10 Edition

  1. #1

    Thread Starter
    New Member FusionOz's Avatar
    Join Date
    Apr 2014
    Location
    Townsville
    Posts
    1

    Question Getting Windows 10 Edition

    Hi all, hope someone here can help. I have tried a few ways to try and use VB.NET to get the Edition of Windows 10.

    Code:
    Dim WinEdition As String = Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion", "ProductName", Nothing)
    Which returns 10.0.21364.0

    Code:
     Dim WinEdition2 = New ComputerInfo().OSFullName
    Which returns Microsoft Windows 10.0.21364.0

    I did also try reading the windows registry but that has not helped. I am just wanting something to say Home, Professional or Enterprise.

  2. #2
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,540

    Re: Getting Windows 10 Edition

    This looks like it works:

    https://social.msdn.microsoft.com/Fo...orum=vbgeneral

    TextBox1.AppendText("OS : " & My.Computer.Info.OSFullName & vbNewLine & _
    "Version : " & My.Computer.Info.OSVersion & vbNewLine &
    "Platform : " & My.Computer.Info.OSPlatform & vbNewLine)
    Please remember next time...elections matter!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width