PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, May 19, 2022

[FIXED] How to check the version compatibility of an exe?

 May 19, 2022     c#, visual-studio-2008, web-services, webserver, windows     No comments   

Issue

How to compare the version of an application in server and the application installed in client machine?


Solution

There are many ways.

  1. Server can have a public WCF service, that returns the version of the app on the server. It can take it from exe file that is lying on the server (using reflection), or just parsing some server xml file - that can be updated by deployment responsible person. You can consume that service in your client app when needed.

  2. ClickOnce deployment gives you abbility not to think about versioning. You can configure such deployment in a way that application won't start if there is a new version on server(that will be downloaded automatically).

Others are variations of connection to the server method and deployment configuration. Choose what fits you most.

Don't forget to mark this as correct in case it fits you.



Answered By - Sasha Reminnyi
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing