trunk/src/LythumOSL.Core/Licensing/ClickOnce.cs
/// <summary>
/// Returns version in human readable format
/// </summary>
/// <param name="defaultVersion"></param>
/// <returns>Returns version in human readable format exp. 1.0.0.1</returns>
Returns version in human readable format
Returns version in human readable format
public static Version GetCurrentDeploymentVersion (string defaultVersion)
		{
			if (ApplicationDeployment.IsNetworkDeployed)
			{
				return ApplicationDeployment.CurrentDeployment.CurrentVersion;
			}
			return new Version (defaultVersion);
		}
public static Version GetCurrentDeploymentVersion ( string defaultVersion ) { if ( ApplicationDeployment . IsNetworkDeployed ) { return ApplicationDeployment . CurrentDeployment . CurrentVersion ; } return new Version ( defaultVersion ) ; }
Returns version in human readable format
Returns version in human readable format
Returns version in human readable format exp.
Returns version in human readable format exp .
defaultVersion
string
None