检查反击的版本 [英] Checking version of counter strike
问题描述
Hello guys
我正在做一些练习,我想查看我的桌面上安装了哪个版本的反恐精英并检查互联网是否有新的版下载?如何以最好的方式做到这一点?一些建议请求?
ES
< blockquote>
你好dokit.2,
我没有安装CS,也不知道你想怎么得到这个版本。但是在C#中,你可以使用
FileVersionInfo.ProductVersion Property 。
这是一个简单的例子。
var versionInfo = FileVersionInfo .GetVersionInfo(pathToExe);
string version = versionInfo.ProductVersion;
如果你想获得新版的反恐精英,请在这个游戏的官方网站上搜索。
最诚挚的问候,
Wendy
Hello guys
I'm doing some exercises and i want to check which version of the counter strike is installed on my desktop and check on the internet is there a new version to download? How to do that in the best way? Some suggestions pleasE?
ES
Hi dokit.2,
I do not install the CS and do not know how do you want to get the version. But in C#, you could use FileVersionInfo.ProductVersion Property.
Here is a simple example.
var versionInfo = FileVersionInfo.GetVersionInfo(pathToExe); string version = versionInfo.ProductVersion;If you want to get the new version of counter strike, please search on the official website of this game.
Best Regards,
Wendy
这篇关于检查反击的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!