Created
June 19, 2017 20:30
-
-
Save yaplex/44f7fc44a657aa68ca7583a654d09e37 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed) { | |
System.Deployment.Application.ApplicationDeployment cd = | |
System.Deployment.Application.ApplicationDeployment.CurrentDeployment; | |
string publishVersion = cd.CurrentVersion; | |
// show publish version in title or About box... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment