开发者

ClickOnce: How do you tell the user what the newest version is?

开发者 https://www.devze.com 2023-01-08 12:45 出处:网络
I have my ClickOnce application set to check for updates after it runs. I开发者_高级运维s there a way to prompt the user to tell them they aren\'t on the current version?Yes, there\'s some example cod

I have my ClickOnce application set to check for updates after it runs. I开发者_高级运维s there a way to prompt the user to tell them they aren't on the current version?


Yes, there's some example code here : http://msdn.microsoft.com/en-us/library/system.deployment.application.checkforupdatecompletedeventargs.aspx

You can use the AvailableVersion property of CheckForUpdateCompletedEventArgs to learn the new version.

0

精彩评论

暂无评论...
验证码 换一张
取 消