I would like to know how to get system information such as OS name and version, system manufacturer.
I can get this information by WMI queries, but WMI queries are not working for guest account.
Any idea?
Thanks.
I would like to know how to get system information such as OS name and version, system manufacturer.
I can get this information by WMI queries, but WMI queries are not working for guest account.
Any idea?
Thanks.
System.Environment class resolves most of your needs:
System.Environment.OSVersion
System.Environment.ProcessorCount
System.Environment.MachineName