";
+ foreach (var autorunDict in autorunsDict)
+ {
+ result += string.Format("
", (autorunDict.Key.Equals("Logon") ? " active" : string.Empty), autorunDict.Key.Replace(" ", ""));
+ if (autorunDict.Value.Count == 0)
+ {
+ result += "
No autorun entries under this category
";
+ continue;
+ }
+ result += "
" +
+ "" +
+ "" +
+ "# | " +
+ "Enabled | " +
+ "Entry | " +
+ "Description | " +
+ "Publisher | " +
+ "Image Path | " +
+ "
" +
+ "" +
+ "";
+ i = 0;
+ foreach (var autorunEntry in autorunDict.Value)
+ {
+ i++;
+ var extraClass = string.Empty;
+ if (!autorunEntry.IsValidFile)
+ {
+ extraClass = "warning";
+ }
+ result += "";
+ }
+ result += "
";
+ result += "
";
+ }
+ result += "
";
+
Html = result;
}
}
diff --git a/SystemInfoSnapshot/Reports/SystemInfo.cs b/SystemInfoSnapshot/Reports/SystemInfo.cs
index fd46a5b..02c338d 100644
--- a/SystemInfoSnapshot/Reports/SystemInfo.cs
+++ b/SystemInfoSnapshot/Reports/SystemInfo.cs
@@ -8,6 +8,11 @@ public sealed class SystemInfo : Report
{
public const string TemplateVar = "";
+ public SystemInfo()
+ {
+ CanAsync = false;
+ }
+
public override string GetTemplateVar()
{
return TemplateVar;
diff --git a/SystemInfoSnapshot/Reports/Title.cs b/SystemInfoSnapshot/Reports/Title.cs
index b7f85ff..25bffef 100644
--- a/SystemInfoSnapshot/Reports/Title.cs
+++ b/SystemInfoSnapshot/Reports/Title.cs
@@ -7,6 +7,11 @@ public sealed class Title : Report
{
public const string TemplateVar = "";
+ public Title()
+ {
+ CanAsync = false;
+ }
+
public override string GetTemplateVar()
{
return TemplateVar;
diff --git a/SystemInfoSnapshot/Reports/Version.cs b/SystemInfoSnapshot/Reports/Version.cs
index 6c94816..bd791c1 100644
--- a/SystemInfoSnapshot/Reports/Version.cs
+++ b/SystemInfoSnapshot/Reports/Version.cs
@@ -4,6 +4,11 @@ public sealed class Version : Report
{
public const string TemplateVar = "";
+ public Version()
+ {
+ CanAsync = false;
+ }
+
public override string GetTemplateVar()
{
return TemplateVar;
diff --git a/SystemInfoSnapshot/Resources/executables/autorunsc.exe b/SystemInfoSnapshot/Resources/executables/autorunsc.exe
new file mode 100644
index 0000000..e2fdfe1
Binary files /dev/null and b/SystemInfoSnapshot/Resources/executables/autorunsc.exe differ
diff --git a/SystemInfoSnapshot/Resources/template.html b/SystemInfoSnapshot/Resources/template.html
index b4c24c4..63166ed 100644
--- a/SystemInfoSnapshot/Resources/template.html
+++ b/SystemInfoSnapshot/Resources/template.html
@@ -140,7 +140,7 @@