summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs b/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs
index 209e3ddc8..40aca7d3e 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs
@@ -33,6 +33,12 @@ namespace HandBrake.ApplicationServices.Utilities
return IsNightly() ? string.Format("Nightly {0} ({1})", instance.Version, instance.Build) : string.Format("{0} ({1})", instance.Version, instance.Build);
}
+ public static string GetVersionShort()
+ {
+ IHandBrakeInstance instance = HandBrakeInstanceManager.GetScanInstance(1);
+ return string.Format("{0} {1}", instance.Version, instance.Build);
+ }
+
/// <summary>
/// The is nightly.
/// </summary>