Winify – Diff between revs 1 and 4
?pathlinks?
Rev 1 | Rev 4 | |||
---|---|---|---|---|
Line -... | Line 1... | |||
- | 1 | using System; |
||
- | 2 | using System.IO; |
||
1 | using System.Reflection; |
3 | using System.Reflection; |
|
2 | using System.Runtime.InteropServices; |
4 | using System.Runtime.InteropServices; |
|
Line 3... | Line 5... | |||
3 | |
5 | |
|
4 | namespace Winify |
6 | namespace Winify |
|
5 | { |
7 | { |
|
Line 17... | Line 19... | |||
17 | |
19 | |
|
18 | public static readonly string AssemblyGuid = |
20 | public static readonly string AssemblyGuid = |
|
Line 19... | Line 21... | |||
19 | ((GuidAttribute) Assembly.GetEntryAssembly().GetCustomAttributes(typeof(GuidAttribute), true)[0]).Value; |
21 | ((GuidAttribute) Assembly.GetEntryAssembly().GetCustomAttributes(typeof(GuidAttribute), true)[0]).Value; |
|
- | 22 | |
||
- | 23 | #endregion |
||
- | 24 | |
||
- | 25 | #region Public Enums, Properties and Fields |
||
- | 26 | |
||
- | 27 | public static string ServersFile => Path.Combine(UserApplicationDirectory, @"Servers.xml"); |
||
- | 28 | |
||
- | 29 | public static string UserApplicationDirectory => Path.Combine( |
||
- | 30 | Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), @"Wizardry and Steamworks", @"Winify"); |
||
20 | |
31 | |
|
21 | #endregion |
32 | #endregion |
|
22 | } |
33 | } |