Example #1
0
 private void LoadAboutMe()
 {
     packageName.Text        = ThisAppInfo.GetDisplayName();
     packageVersion.Text     = ThisAppInfo.GetPackageVersion();
     installedFrom.Text      = ThisAppInfo.GetAppInstallerUri();
     installLocation.Text    = ThisAppInfo.GetInstallLocation();
     installedDate.Text      = ThisAppInfo.GetInstallationDate();
     RuntimeVersionInfo.Text = ThisAppInfo.GetDotNetRuntimeInfo();
 }
Example #2
0
        private void LoadAboutMe()
        {
            about.packageName.Text        = ThisAppInfo.GetDisplayName();
            about.packageVersion.Text     = ThisAppInfo.GetPackageVersion();
            about.installedFrom.Text      = ThisAppInfo.GetAppInstallerUri();
            about.installLocation.Text    = ThisAppInfo.GetInstallLocation();
            about.settingsLocation.Text   = ThisAppInfo.GetSettingsLocation();
            about.installedDate.Text      = ThisAppInfo.GetInstallationDate();
            about.RuntimeVersionInfo.Text = ThisAppInfo.GetDotNetRuntimeInfo();

            if (Convert.ToBoolean(App.StaticConfig["IsAppPackaged"], CultureInfo.InvariantCulture))
            {
                about.updateBtn.Visibility = Visibility.Visible;
            }
            else
            {
                about.updateBtn.Visibility = Visibility.Collapsed;
            }
        }