Make protection location optional (default off)

This commit is contained in:
Matt Nadareski
2020-09-10 21:43:18 -07:00
parent c4f8fa4b0d
commit 0c137e97f0
54 changed files with 224 additions and 219 deletions

View File

@@ -13,7 +13,7 @@ namespace Test
p.ProgressChanged += Changed;
foreach (string arg in args)
{
string protections = String.Join("\r\n", ProtectionFind.Scan(arg, p).Select(kvp => kvp.Key + ": " + kvp.Value.TrimEnd()));
string protections = String.Join("\r\n", ProtectionFind.Scan(arg, true, p).Select(kvp => kvp.Key + ": " + kvp.Value.TrimEnd()));
Console.WriteLine(protections);
using (StreamWriter sw = new StreamWriter(File.OpenWrite($"{DateTime.Now:yyyy-MM-dd_HHmmss}.txt")))
{