summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices/Init.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-06-12 11:16:39 +0000
committersr55 <[email protected]>2010-06-12 11:16:39 +0000
commite30d3faa77a878394b195c651f4b495bb2f60e2d (patch)
tree1f20d877d63b74e7eafd9a5e0219d219d7298324 /win/C#/HandBrake.ApplicationServices/Init.cs
parentb837a99d5bc4dea6eb35ae98766c780912093f92 (diff)
WinGui:
- Svn Rev added to services dll. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3379 b64f7644-9d1e-0410-96f1-a4d463321fa5
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;
+ }
}
}