diff --git a/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 b/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 index 982f33c..f1a3622 100644 Binary files a/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 and b/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/BlockIPAddr/FileContentIndex/1bc4a9f4-a147-40b8-adf8-3e7d20564d26.vsidx b/.vs/BlockIPAddr/FileContentIndex/1bc4a9f4-a147-40b8-adf8-3e7d20564d26.vsidx deleted file mode 100644 index afc53c2..0000000 Binary files a/.vs/BlockIPAddr/FileContentIndex/1bc4a9f4-a147-40b8-adf8-3e7d20564d26.vsidx and /dev/null differ diff --git a/.vs/BlockIPAddr/v17/.suo b/.vs/BlockIPAddr/v17/.suo index 2ad53a1..66d6e03 100644 Binary files a/.vs/BlockIPAddr/v17/.suo and b/.vs/BlockIPAddr/v17/.suo differ diff --git a/.vs/BlockIPAddr/v17/DocumentLayout.backup.json b/.vs/BlockIPAddr/v17/DocumentLayout.backup.json index 78fa9ea..887f3f5 100644 --- a/.vs/BlockIPAddr/v17/DocumentLayout.backup.json +++ b/.vs/BlockIPAddr/v17/DocumentLayout.backup.json @@ -5,6 +5,10 @@ { "AbsoluteMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|c:\\repos\\blockipaddr\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|c:\\repos\\blockipaddr\\classobj\\ansi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|solutionrelative:classobj\\ansi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" } ], "DocumentGroupContainers": [ @@ -68,10 +72,23 @@ "RelativeDocumentMoniker": "Program.cs", "ToolTip": "C:\\Repos\\BlockIPAddr\\Program.cs", "RelativeToolTip": "Program.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABoAAAAAAAAAAAAAAA==", + "ViewState": "AgIAAAIAAAAAAAAAAAAqwDYAAAAKAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-06-27T16:11:33.579Z", "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "ANSI.cs", + "DocumentMoniker": "C:\\Repos\\BlockIPAddr\\ClassObj\\ANSI.cs", + "RelativeDocumentMoniker": "ClassObj\\ANSI.cs", + "ToolTip": "C:\\Repos\\BlockIPAddr\\ClassObj\\ANSI.cs", + "RelativeToolTip": "ClassObj\\ANSI.cs", + "ViewState": "AgIAADgAAAAAAAAAAAAAAEoAAAARAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-06-30T08:09:46.703Z", + "EditorCaption": "" } ] } diff --git a/.vs/BlockIPAddr/v17/DocumentLayout.json b/.vs/BlockIPAddr/v17/DocumentLayout.json index 7489600..ec7f1d3 100644 --- a/.vs/BlockIPAddr/v17/DocumentLayout.json +++ b/.vs/BlockIPAddr/v17/DocumentLayout.json @@ -5,6 +5,10 @@ { "AbsoluteMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|c:\\repos\\blockipaddr\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|c:\\repos\\blockipaddr\\classobj\\ansi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{388323B4-A1A6-465C-BE7F-5C3C7270C64E}|BlockIPAddr.csproj|solutionrelative:classobj\\ansi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" } ], "DocumentGroupContainers": [ @@ -68,10 +72,23 @@ "RelativeDocumentMoniker": "Program.cs", "ToolTip": "C:\\Repos\\BlockIPAddr\\Program.cs", "RelativeToolTip": "Program.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAABLAAAAAAAAAA==", + "ViewState": "AgIAAAIAAAAAAAAAAAAqwBgAAAAmAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-06-27T16:11:33.579Z", "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "ANSI.cs", + "DocumentMoniker": "C:\\Repos\\BlockIPAddr\\ClassObj\\ANSI.cs", + "RelativeDocumentMoniker": "ClassObj\\ANSI.cs", + "ToolTip": "C:\\Repos\\BlockIPAddr\\ClassObj\\ANSI.cs", + "RelativeToolTip": "ClassObj\\ANSI.cs", + "ViewState": "AgIAADgAAAAAAAAAAAAAAEoAAAARAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-06-30T08:09:46.703Z", + "EditorCaption": "" } ] } diff --git a/ClassObj/ANSI.cs b/ClassObj/ANSI.cs new file mode 100644 index 0000000..bb7cd11 --- /dev/null +++ b/ClassObj/ANSI.cs @@ -0,0 +1,136 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace BlockIPAddr.ClassObj; + +internal class ANSI +{ + /* + ANSI Console Color Codes + 8 Colors Foreground + The most basic terminals have a set of 8 different colors: + + Black: \u001b[30m + Red: \u001b[31m + Green: \u001b[32m + Yellow: \u001b[33m + Blue: \u001b[34m + Magenta: \u001b[35m + Cyan: \u001b[36m + White: \u001b[37m + Reset: \u001b[0m + + 16 Colors Foreground + Most terminals, apart from the basic set of 8 colors, also support the "bright" or "bold" colors. These have their own set of codes, mirroring the normal + colors, but with an additional ;1 in their codes: + + Bright Black: \u001b[30;1m + Bright Red: \u001b[31;1m + Bright Green: \u001b[32;1m + Bright Yellow: \u001b[33;1m + Bright Blue: \u001b[34;1m + Bright Magenta: \u001b[35;1m + Bright Cyan: \u001b[36;1m + Bright White: \u001b[37;1m + Reset: \u001b[0m + + Background Colors + The Ansi escape codes let you set the color of the text-background the same way it lets you set the color of the foregrond. For example, the 8 background + colors correspond to the codes: + + Background Black: \u001b[40m + Background Red: \u001b[41m + Background Green: \u001b[42m + Background Yellow: \u001b[43m + Background Blue: \u001b[44m + Background Magenta: \u001b[45m + Background Cyan: \u001b[46m + Background White: \u001b[47m + With the bright versions being: + + Background Bright Black: \u001b[40;1m + Background Bright Red: \u001b[41;1m + Background Bright Green: \u001b[42;1m + Background Bright Yellow: \u001b[43;1m + Background Bright Blue: \u001b[44;1m + Background Bright Magenta: \u001b[45;1m + Background Bright Cyan: \u001b[46;1m + Background Bright White: \u001b[47;1m + + Decorations + Apart from colors, and background-colors, Ansi escape codes also allow decorations on the text: + + Bold: \u001b[1m + Underline: \u001b[4m + Reversed: \u001b[7m + + Source: https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html + */ + + internal const string fgReset = "\u001b[0m"; + internal const string fgBrightBlack = "\u001b[30;1m"; + internal const string fgBrightRed = "\u001b[31;1m"; + internal const string fgBrightGreen = "\u001b[32;1m"; + internal const string fgBrightYellow = "\u001b[33;1m"; + internal const string fgBrightBlue = "\u001b[34;1m"; + internal const string fgBrightMagenta = "\u001b[35;1m"; + internal const string fgBrightCyan = "\u001b[36;1m"; + internal const string fgBrightWhite = "\u001b[37;1m"; + internal const string fgNormalBlack = "\u001b[30m"; + internal const string fgNormalRed = "\u001b[31m"; + internal const string fgNormalGreen = "\u001b[32m"; + internal const string fgNormalYellow = "\u001b[33m"; + internal const string fgNormalBlue = "\u001b[34m"; + internal const string fgNormalMagenta = "\u001b[35m"; + internal const string fgNormalCyan = "\u001b[36m"; + internal const string fgNormalWhite = "\u001b[37m"; + + public static class ConsoleColorization + { + private const int STD_OUTPUT_HANDLE = -11; + private const uint ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004; + + [DllImport("kernel32.dll", SetLastError = true)] + private static extern IntPtr GetStdHandle(int nStdHandle); + + [DllImport("kernel32.dll", SetLastError = true)] + private static extern bool GetConsoleMode(IntPtr hConsoleHandle, out uint lpMode); + + [DllImport("kernel32.dll", SetLastError = true)] + private static extern bool SetConsoleMode(IntPtr hConsoleHandle, uint dwMode); + + public static void Initialize() + { + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + EnableAnsiEscapeSequencesOnWindows(); + Console.OutputEncoding = System.Text.Encoding.UTF8; + } + } //Initialize + + private static void EnableAnsiEscapeSequencesOnWindows() + { + IntPtr handle = GetStdHandle(STD_OUTPUT_HANDLE); + if (handle == IntPtr.Zero) + { + throw new Exception("Cannot get standard output handle"); + } + + if (!GetConsoleMode(handle, out uint mode)) + { + throw new Exception("Cannot get console mode"); + } + + mode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING; + if (!SetConsoleMode(handle, mode)) + { + throw new Exception("Cannot set console mode"); + } + } //EnableAnsiEscapeSequencesOnWindows + } //ConsoleColor + +} diff --git a/Program.cs b/Program.cs index b1f93a5..0055d35 100644 --- a/Program.cs +++ b/Program.cs @@ -1,25 +1,59 @@ using Microsoft.Data.SqlClient; +using BlockIPAddr.ClassObj; +using static BlockIPAddr.ClassObj.ANSI; namespace BlockIPAddr; internal class Program { + [STAThread] static void Main(string[] args) { - using (var cn = new SqlConnection(kmCommonLibsCore.Constants.cnPortal)) - using (var cm = new SqlCommand("dbo.[BlockIPAddrInFirewall]", cn) { CommandType = System.Data.CommandType.StoredProcedure }) + ConsoleColorization.Initialize(); // Allow ANSI in the console + + if (args.Length > 0) { Console.WriteLine(); - cn.Open(); - cm.Parameters.Add("@ip4", System.Data.SqlDbType.VarChar, 30); - foreach (string arg in args) + using (var cn = new SqlConnection(kmCommonLibsCore.Constants.cnPortal)) + using (var cm = new SqlCommand("dbo.[BlockIPAddrInFirewall]", cn) { CommandType = System.Data.CommandType.StoredProcedure }) { - string rv; + cn.Open(); + cm.Parameters.Add("@ip4", System.Data.SqlDbType.VarChar, 30); + foreach (string arg in args) + { + string rv; + string color = string.Empty; - cm.Parameters["@ip4"].Value = arg.Trim(); - rv = Convert.ToString(cm.ExecuteScalar() ?? string.Empty); + cm.Parameters["@ip4"].Value = arg.Trim(); + rv = cm.ExecuteScalar().ToString() ?? string.Empty; - Console.WriteLine(rv); + color = rv.StartsWith("!!") ? ANSI.fgBrightRed : ANSI.fgBrightYellow; + Console.WriteLine("Result: {1}{0}{2}", rv, color, ANSI.fgReset); + } + } + } + else + { + while (true) + { + string ip4 = string.Empty; + Console.Write("\nEnter an IP Address to block (can include slash-notation) or Enter to Exit: "); + ip4 = Console.ReadLine(); + if (string.IsNullOrWhiteSpace(ip4)) + break; + + using (var cn = new SqlConnection(kmCommonLibsCore.Constants.cnPortal)) + using (var cm = new SqlCommand("dbo.[BlockIPAddrInFirewall]", cn) { CommandType = System.Data.CommandType.StoredProcedure }) + { + string color = string.Empty; + string rv = string.Empty; + cn.Open(); + cm.Parameters.Add("@ip4", System.Data.SqlDbType.VarChar, 30).Value = ip4; + rv = cm.ExecuteScalar().ToString() ?? string.Empty; + + color = rv.StartsWith("!!") ? ANSI.fgBrightRed : ANSI.fgBrightYellow; + Console.WriteLine("\nResult: {1}{0}{2}", rv, color, ANSI.fgReset); + } } } } diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user index a709625..a56e169 100644 --- a/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -2,7 +2,7 @@ - True|2025-06-27T16:28:32.0039427Z||;True|2025-06-27T12:27:16.4031564-04:00||;True|2025-06-27T12:23:51.7850485-04:00||;True|2025-06-27T12:13:48.5390689-04:00||;True|2025-06-27T12:12:59.9985493-04:00||; + True|2025-06-30T08:39:28.6629030Z||;True|2025-06-30T04:04:51.2689872-04:00||;True|2025-06-30T04:02:09.8676131-04:00||;True|2025-06-27T12:28:32.0039427-04:00||;True|2025-06-27T12:27:16.4031564-04:00||;True|2025-06-27T12:23:51.7850485-04:00||;True|2025-06-27T12:13:48.5390689-04:00||;True|2025-06-27T12:12:59.9985493-04:00||; \ No newline at end of file diff --git a/bin/Debug/net9.0-windows/BlockIPAddr.dll b/bin/Debug/net9.0-windows/BlockIPAddr.dll index a0a27f1..4d18202 100644 Binary files a/bin/Debug/net9.0-windows/BlockIPAddr.dll and b/bin/Debug/net9.0-windows/BlockIPAddr.dll differ diff --git a/bin/Debug/net9.0-windows/BlockIPAddr.exe b/bin/Debug/net9.0-windows/BlockIPAddr.exe index e7dd9d3..32fe891 100644 Binary files a/bin/Debug/net9.0-windows/BlockIPAddr.exe and b/bin/Debug/net9.0-windows/BlockIPAddr.exe differ diff --git a/bin/Debug/net9.0-windows/BlockIPAddr.pdb b/bin/Debug/net9.0-windows/BlockIPAddr.pdb index 1504940..dea2e52 100644 Binary files a/bin/Debug/net9.0-windows/BlockIPAddr.pdb and b/bin/Debug/net9.0-windows/BlockIPAddr.pdb differ diff --git a/bin/Release/net9.0-windows/BlockIPAddr.dll b/bin/Release/net9.0-windows/BlockIPAddr.dll index 0689346..d252bb9 100644 Binary files a/bin/Release/net9.0-windows/BlockIPAddr.dll and b/bin/Release/net9.0-windows/BlockIPAddr.dll differ diff --git a/bin/Release/net9.0-windows/BlockIPAddr.exe b/bin/Release/net9.0-windows/BlockIPAddr.exe index e7dd9d3..32fe891 100644 Binary files a/bin/Release/net9.0-windows/BlockIPAddr.exe and b/bin/Release/net9.0-windows/BlockIPAddr.exe differ diff --git a/bin/Release/net9.0-windows/BlockIPAddr.pdb b/bin/Release/net9.0-windows/BlockIPAddr.pdb index 14a755f..c2db643 100644 Binary files a/bin/Release/net9.0-windows/BlockIPAddr.pdb and b/bin/Release/net9.0-windows/BlockIPAddr.pdb differ diff --git a/bin/Release/net9.0-windows/win-x64/BlockIPAddr.dll b/bin/Release/net9.0-windows/win-x64/BlockIPAddr.dll index fb80e8d..948aac1 100644 Binary files a/bin/Release/net9.0-windows/win-x64/BlockIPAddr.dll and b/bin/Release/net9.0-windows/win-x64/BlockIPAddr.dll differ diff --git a/bin/Release/net9.0-windows/win-x64/BlockIPAddr.exe b/bin/Release/net9.0-windows/win-x64/BlockIPAddr.exe index e7dd9d3..32fe891 100644 Binary files a/bin/Release/net9.0-windows/win-x64/BlockIPAddr.exe and b/bin/Release/net9.0-windows/win-x64/BlockIPAddr.exe differ diff --git a/bin/Release/net9.0-windows/win-x64/BlockIPAddr.pdb b/bin/Release/net9.0-windows/win-x64/BlockIPAddr.pdb index a1a9730..6ce80d1 100644 Binary files a/bin/Release/net9.0-windows/win-x64/BlockIPAddr.pdb and b/bin/Release/net9.0-windows/win-x64/BlockIPAddr.pdb differ diff --git a/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.exe b/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.exe index 8797ed1..b5957d8 100644 Binary files a/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.exe and b/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.exe differ diff --git a/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.pdb b/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.pdb index 9931513..1068f4f 100644 Binary files a/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.pdb and b/bin/Release/net9.0-windows/win-x64/native/BlockIPAddr.pdb differ diff --git a/bin/Release/publish/BlockIPAddr.exe b/bin/Release/publish/BlockIPAddr.exe index 8797ed1..b5957d8 100644 Binary files a/bin/Release/publish/BlockIPAddr.exe and b/bin/Release/publish/BlockIPAddr.exe differ diff --git a/bin/Release/publish/BlockIPAddr.pdb b/bin/Release/publish/BlockIPAddr.pdb index 9931513..1068f4f 100644 Binary files a/bin/Release/publish/BlockIPAddr.pdb and b/bin/Release/publish/BlockIPAddr.pdb differ diff --git a/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfo.cs b/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfo.cs index 3bbf558..8541267 100644 --- a/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfo.cs +++ b/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+76d5541e7e2e23eff1f7874ec3c40a46ef7e1f8d")] [assembly: System.Reflection.AssemblyProductAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyTitleAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache b/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache index 798ac1b..4c04f7a 100644 --- a/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache +++ b/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache @@ -1 +1 @@ -313cd8038b24a65586affabdf0353707afc31917b5e8da890d6f0beb7a0374f6 +61c37c42ee97e4459c046c73f3178cb9717e64e39648654751cd12b3dad0d28b diff --git a/obj/Debug/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache b/obj/Debug/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache index 98c9393..8682fb9 100644 --- a/obj/Debug/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache +++ b/obj/Debug/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -8dfa9e7f3c869e2e14b066aa2d7c79984b599ff4fa64c91aac225f45322424a9 +9590f15ff63e7ceda5d0b7c318d17b8b6b71cb6e26cc7210ed178dbbf4e839bf diff --git a/obj/Debug/net9.0-windows/BlockIPAddr.dll b/obj/Debug/net9.0-windows/BlockIPAddr.dll index a0a27f1..4d18202 100644 Binary files a/obj/Debug/net9.0-windows/BlockIPAddr.dll and b/obj/Debug/net9.0-windows/BlockIPAddr.dll differ diff --git a/obj/Debug/net9.0-windows/BlockIPAddr.pdb b/obj/Debug/net9.0-windows/BlockIPAddr.pdb index 1504940..dea2e52 100644 Binary files a/obj/Debug/net9.0-windows/BlockIPAddr.pdb and b/obj/Debug/net9.0-windows/BlockIPAddr.pdb differ diff --git a/obj/Debug/net9.0-windows/apphost.exe b/obj/Debug/net9.0-windows/apphost.exe index e7dd9d3..32fe891 100644 Binary files a/obj/Debug/net9.0-windows/apphost.exe and b/obj/Debug/net9.0-windows/apphost.exe differ diff --git a/obj/Debug/net9.0-windows/ref/BlockIPAddr.dll b/obj/Debug/net9.0-windows/ref/BlockIPAddr.dll index deacf7c..e06a465 100644 Binary files a/obj/Debug/net9.0-windows/ref/BlockIPAddr.dll and b/obj/Debug/net9.0-windows/ref/BlockIPAddr.dll differ diff --git a/obj/Debug/net9.0-windows/refint/BlockIPAddr.dll b/obj/Debug/net9.0-windows/refint/BlockIPAddr.dll index deacf7c..e06a465 100644 Binary files a/obj/Debug/net9.0-windows/refint/BlockIPAddr.dll and b/obj/Debug/net9.0-windows/refint/BlockIPAddr.dll differ diff --git a/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfo.cs b/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfo.cs index 95b7dcc..7ca50ef 100644 --- a/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfo.cs +++ b/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+76d5541e7e2e23eff1f7874ec3c40a46ef7e1f8d")] [assembly: System.Reflection.AssemblyProductAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyTitleAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache b/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache index 7801cf6..a43b419 100644 --- a/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache +++ b/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache @@ -1 +1 @@ -6f3359db292eb2114d5a51ea818e78f5826177dd9aa1bd2a50813edf124a3cf1 +87dc558f82f5265012bd9142dc02bd8e54fbd91b8009a10a518788f869939f12 diff --git a/obj/Release/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache b/obj/Release/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache index 4090ecc..f0cdd6f 100644 --- a/obj/Release/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache +++ b/obj/Release/net9.0-windows/BlockIPAddr.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -7a9a61db58009c4791125726acc7c6d3434c17b94cbd969d486f625fc7cb7815 +025007fdead242d002df3e7a84a8860b71b465181722a4480c71a69ce525c5c0 diff --git a/obj/Release/net9.0-windows/BlockIPAddr.dll b/obj/Release/net9.0-windows/BlockIPAddr.dll index 0689346..d252bb9 100644 Binary files a/obj/Release/net9.0-windows/BlockIPAddr.dll and b/obj/Release/net9.0-windows/BlockIPAddr.dll differ diff --git a/obj/Release/net9.0-windows/BlockIPAddr.pdb b/obj/Release/net9.0-windows/BlockIPAddr.pdb index 14a755f..c2db643 100644 Binary files a/obj/Release/net9.0-windows/BlockIPAddr.pdb and b/obj/Release/net9.0-windows/BlockIPAddr.pdb differ diff --git a/obj/Release/net9.0-windows/apphost.exe b/obj/Release/net9.0-windows/apphost.exe index e7dd9d3..32fe891 100644 Binary files a/obj/Release/net9.0-windows/apphost.exe and b/obj/Release/net9.0-windows/apphost.exe differ diff --git a/obj/Release/net9.0-windows/ref/BlockIPAddr.dll b/obj/Release/net9.0-windows/ref/BlockIPAddr.dll index 578b9f0..b72bbef 100644 Binary files a/obj/Release/net9.0-windows/ref/BlockIPAddr.dll and b/obj/Release/net9.0-windows/ref/BlockIPAddr.dll differ diff --git a/obj/Release/net9.0-windows/refint/BlockIPAddr.dll b/obj/Release/net9.0-windows/refint/BlockIPAddr.dll index 578b9f0..b72bbef 100644 Binary files a/obj/Release/net9.0-windows/refint/BlockIPAddr.dll and b/obj/Release/net9.0-windows/refint/BlockIPAddr.dll differ diff --git a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfo.cs b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfo.cs index 95b7dcc..7ca50ef 100644 --- a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfo.cs +++ b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+76d5541e7e2e23eff1f7874ec3c40a46ef7e1f8d")] [assembly: System.Reflection.AssemblyProductAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyTitleAttribute("BlockIPAddr")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfoInputs.cache b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfoInputs.cache index 7801cf6..a43b419 100644 --- a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfoInputs.cache +++ b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.AssemblyInfoInputs.cache @@ -1 +1 @@ -6f3359db292eb2114d5a51ea818e78f5826177dd9aa1bd2a50813edf124a3cf1 +87dc558f82f5265012bd9142dc02bd8e54fbd91b8009a10a518788f869939f12 diff --git a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.csproj.CoreCompileInputs.cache b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.csproj.CoreCompileInputs.cache index b3066df..f3427a7 100644 --- a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.csproj.CoreCompileInputs.cache +++ b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -a3a6613be5e96d60d680735a3eb8101ca88cc21301deaeb883e860dc1f24fcb1 +a59c45d6fa9b1a8838db49c52e7e2fce04ea6b133c5d6a07e174f9a3cf96e3c3 diff --git a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.dll b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.dll index fb80e8d..948aac1 100644 Binary files a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.dll and b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.dll differ diff --git a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.pdb b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.pdb index a1a9730..6ce80d1 100644 Binary files a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.pdb and b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.pdb differ diff --git a/obj/Release/net9.0-windows/win-x64/apphost.exe b/obj/Release/net9.0-windows/win-x64/apphost.exe index e7dd9d3..32fe891 100644 Binary files a/obj/Release/net9.0-windows/win-x64/apphost.exe and b/obj/Release/net9.0-windows/win-x64/apphost.exe differ diff --git a/obj/Release/net9.0-windows/win-x64/native/BlockIPAddr.obj b/obj/Release/net9.0-windows/win-x64/native/BlockIPAddr.obj index 9029753..7b99581 100644 Binary files a/obj/Release/net9.0-windows/win-x64/native/BlockIPAddr.obj and b/obj/Release/net9.0-windows/win-x64/native/BlockIPAddr.obj differ diff --git a/obj/Release/net9.0-windows/win-x64/ref/BlockIPAddr.dll b/obj/Release/net9.0-windows/win-x64/ref/BlockIPAddr.dll index 9c4564e..d2cf54e 100644 Binary files a/obj/Release/net9.0-windows/win-x64/ref/BlockIPAddr.dll and b/obj/Release/net9.0-windows/win-x64/ref/BlockIPAddr.dll differ diff --git a/obj/Release/net9.0-windows/win-x64/refint/BlockIPAddr.dll b/obj/Release/net9.0-windows/win-x64/refint/BlockIPAddr.dll index 9c4564e..d2cf54e 100644 Binary files a/obj/Release/net9.0-windows/win-x64/refint/BlockIPAddr.dll and b/obj/Release/net9.0-windows/win-x64/refint/BlockIPAddr.dll differ diff --git a/obj/Release/net9.0-windows/win-x64/singlefilehost.exe b/obj/Release/net9.0-windows/win-x64/singlefilehost.exe index 4ade98b..459f5be 100644 Binary files a/obj/Release/net9.0-windows/win-x64/singlefilehost.exe and b/obj/Release/net9.0-windows/win-x64/singlefilehost.exe differ