internal static ErrorInstallInfo GetErrorInstallInfo()
        {
            ErrorInstallInfo errorInstallInfo = new ErrorInstallInfo();

            errorInstallInfo.batteryStatus = status.BatteryChargeStatus.ToString();
            errorInstallInfo.batteryUsed   = status.PowerLineStatus != System.Windows.Forms.PowerLineStatus.Online;
            errorInstallInfo.isAdmin       = CpuHelper.IsAdministrator();
            errorInstallInfo.screenRes     = GpuHelper.GetScreenResolution();
            return(errorInstallInfo);
        }
        internal static CompleteInstallInfo GetCompleteInstallInfo()
        {
            CompleteInstallInfo sysInfo = new CompleteInstallInfo();

            sysInfo.cpuInfo       = CpuHelper.GetCpuInfo();
            sysInfo.gpuInfo       = GpuHelper.GetGpuInfo();
            sysInfo.uptimePct     = CpuHelper.GetUptimePct();
            sysInfo.uptimeCurrent = CpuHelper.GetUptimeCurrent();
            if (status != null)
            {
                sysInfo.batteyStatus = status.BatteryChargeStatus.ToString();
                sysInfo.batteryUsed  = status.PowerLineStatus != System.Windows.Forms.PowerLineStatus.Online;
            }
            sysInfo.isAdmin      = CpuHelper.IsAdministrator();
            sysInfo.powerProfile = PowerEnumerator.GetCurrentPowerEnumerateVistaAPI();
            sysInfo.screenRes    = GpuHelper.GetScreenResolution();
            return(sysInfo);
        }