How to get system information in guest account c#?

2019-07-18 09:24发布

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.

标签: c# wmi accounts
1条回答
仙女界的扛把子
2楼-- · 2019-07-18 10:08

System.Environment class resolves most of your needs:

 System.Environment.OSVersion 
 System.Environment.ProcessorCount 
 System.Environment.MachineName 
查看更多
登录 后发表回答