views:

78

answers:

1

Hi,

I would like to know how to get system information such as OS name and version, system manufactor... I can get this information by WMI qureies, but WMI queries are not working for guest account.

Any idea?

Thanks.

A: 

System.Environment class resolves most of your needs:

 System.Environment.OSVersion 
 System.Environment.ProcessorCount 
 System.Environment.MachineName 
Dewfy