2

I am trying to get OS full name using vb.net

Console.WriteLine(My.Computer.Info.OSFullName)

It works fine in most of the machines. One of the Windows 7 machine throws

Unhandled Exception: system.management.managementexception invalid class

google search does not help. Does anyone know what is causing this error?


It is set to Any CPU. So, It is not duplicate of ManagementException - Invalid Class


More Info:

I think below issue is causing the error. still checking how to fix this.

enter image description here

Community
  • 1
  • 1
KitKarson
  • 5,211
  • 10
  • 51
  • 73

0 Answers0