检查反击的版本 [英] Checking version of counter strike

查看:68
本文介绍了检查反击的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆