Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 ASP.NET 中构建服务器信息工具。我可以访问远程服务器(用户名、密码、服务器名)。
我need to get the OS and version of OS在每台服务器(Windows 或Unix/Linux)上运行
need to get the OS and version of OS
我曾尝试寻找解决方案,并且在大多数地方,人们都在谈论WMI. 但WMI我想,如果它是 Linux/Unix 机器,它就行不通了。
WMI
有没有一种方法可以用 C# 实现这一点?