Ejemplo n.º 1
0
        /// <summary>
        /// Returns the application name, with the version string. i.e., "Paint.NET v2.5 (Beta 2 Debug build 1.0.*.*)"
        /// </summary>
        /// <returns></returns>
        public static string GetFullAppName()
        {
            string fullAppNameFormat = PdnResources.GetString("PdnInfo.FullAppName.Format");
            string fullAppName       = string.Format(fullAppNameFormat, PdnInfo.GetProductName(), GetVersionString());

            return(fullAppName);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// For final builds, this returns PdnInfo.GetProductName() (i.e., "Paint.NET v2.2")
 /// For non-final builds, this returns GetFullAppName()
 /// </summary>
 /// <returns></returns>
 public static string GetAppName()
 {
     if (!PdnInfo.IsDebugBuild)
     {
         return(PdnInfo.GetProductName());
     }
     else
     {
         return(GetFullAppName());
     }
 }