internal static ErrorUpdateInfo ErrorUpdateInfo() { ErrorUpdateInfo errorUpdateInfo = new ErrorUpdateInfo(); errorUpdateInfo.isAdmin = CpuHelper.IsAdministrator(); return(errorUpdateInfo);; }
private static ErrorUpdateInfo GetErrorInfo() { var clctr = CommunicationUtils.DataCollector; string msg = clctr.ErrorDescription.ToString(); ErrorUpdateInfo erroInstallInfo = SystemHelper.ErrorUpdateInfo(); erroInstallInfo.ErrorMessage = msg; return(erroInstallInfo); }