summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices/Init.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Init.cs')
-rw-r--r--win/C#/HandBrake.ApplicationServices/Init.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Init.cs b/win/C#/HandBrake.ApplicationServices/Init.cs
index a0a85d40e..280827605 100644
--- a/win/C#/HandBrake.ApplicationServices/Init.cs
+++ b/win/C#/HandBrake.ApplicationServices/Init.cs
@@ -5,6 +5,9 @@
namespace HandBrake.ApplicationServices
{
+ using System;
+ using System.Reflection;
+
/// <summary>
/// Initialize ApplicationServices
/// </summary>
@@ -65,5 +68,15 @@ namespace HandBrake.ApplicationServices
Properties.Settings.Default.Save();
}
+ /// <summary>
+ /// Gets the Assembly version.
+ /// </summary>
+ /// <returns>
+ /// Version data
+ /// </returns>
+ public static Version AssemblyVersion()
+ {
+ return Assembly.GetExecutingAssembly().GetName().Version;
+ }
}
}