#if !SIMPLSHARP using ICD.Common.Utils.IO; using System; using System.Reflection; using ICD.Common.Properties; namespace ICD.Common.Utils { public static partial class ProgramUtils { /// /// Gets the program number. /// [PublicAPI] public static uint ProgramNumber { get { return 1; } } /// /// Gets the compile date of the program. /// [PublicAPI] public static string CompiledDate { get { return IcdFile.GetLastWriteTime(Assembly.GetEntryAssembly().Location).ToString(); } } /// /// Gets the compiler revision version. /// [PublicAPI] public static Version CompilerRevision { get { return Assembly.GetEntryAssembly().GetName().Version; } } /// /// Gets the name of the program dll. /// [PublicAPI] public static string ProgramFile { get { return IcdPath.GetFileName(Assembly.GetEntryAssembly().Location); } } /// /// Gets the name of the application. /// [PublicAPI] public static string ApplicationName { get { return Assembly.GetEntryAssembly().GetName().Name; } } } } #endif