none
Checking version of counter strike RRS feed

  • Question

  • 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


    • Edited by dokirt.2 Wednesday, April 25, 2018 7:58 AM
    Wednesday, April 25, 2018 7:56 AM

All replies

  • I don't have CS so I don't know their servers, but to check the version of an executable, you can use

    FileVersionInfo

    Wednesday, April 25, 2018 8:29 AM
  • 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


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, May 1, 2018 8:06 AM
    Moderator