コード例 #1
0
        public static ConfigSettings.About GetConfigSettingsAbout()
        {
            ConfigSettings.About about = new ConfigSettings.About();
            about.modifiedDate = DateTime.UtcNow;

            FileVersionInfo versionInfo = GetVersionInfo();
            Version         version     = GetVersion();
            string          buildDate   = GetBuildDate();

            about.version   = version.ToString();
            about.buildDate = buildDate;
            about.product   = versionInfo.ProductName;

            return(about);
        }
コード例 #2
0
 public void Initialize()
 {
     guid  = Guid.NewGuid();
     about = Config.GetConfigSettingsAbout();
 }