diff --git a/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 b/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 index f1a3622..66721da 100644 Binary files a/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 and b/.vs/BlockIPAddr/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/BlockIPAddr/v17/.futdcache.v2 b/.vs/BlockIPAddr/v17/.futdcache.v2 index f6d57e6..d38f294 100644 Binary files a/.vs/BlockIPAddr/v17/.futdcache.v2 and b/.vs/BlockIPAddr/v17/.futdcache.v2 differ diff --git a/.vs/BlockIPAddr/v17/.suo b/.vs/BlockIPAddr/v17/.suo index 66d6e03..0973d8c 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 887f3f5..7dfd19a 100644 --- a/.vs/BlockIPAddr/v17/DocumentLayout.backup.json +++ b/.vs/BlockIPAddr/v17/DocumentLayout.backup.json @@ -72,7 +72,7 @@ "RelativeDocumentMoniker": "Program.cs", "ToolTip": "C:\\Repos\\BlockIPAddr\\Program.cs", "RelativeToolTip": "Program.cs", - "ViewState": "AgIAAAIAAAAAAAAAAAAqwDYAAAAKAAAAAAAAAA==", + "ViewState": "AgIAABgAAAAAAAAAAAAAACoAAAAHAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-06-27T16:11:33.579Z", "EditorCaption": "" @@ -87,8 +87,7 @@ "RelativeToolTip": "ClassObj\\ANSI.cs", "ViewState": "AgIAADgAAAAAAAAAAAAAAEoAAAARAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-06-30T08:09:46.703Z", - "EditorCaption": "" + "WhenOpened": "2025-06-30T08:09:46.703Z" } ] } diff --git a/.vs/BlockIPAddr/v17/DocumentLayout.json b/.vs/BlockIPAddr/v17/DocumentLayout.json index ec7f1d3..7dfd19a 100644 --- a/.vs/BlockIPAddr/v17/DocumentLayout.json +++ b/.vs/BlockIPAddr/v17/DocumentLayout.json @@ -72,7 +72,7 @@ "RelativeDocumentMoniker": "Program.cs", "ToolTip": "C:\\Repos\\BlockIPAddr\\Program.cs", "RelativeToolTip": "Program.cs", - "ViewState": "AgIAAAIAAAAAAAAAAAAqwBgAAAAmAAAAAAAAAA==", + "ViewState": "AgIAABgAAAAAAAAAAAAAACoAAAAHAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-06-27T16:11:33.579Z", "EditorCaption": "" @@ -87,8 +87,7 @@ "RelativeToolTip": "ClassObj\\ANSI.cs", "ViewState": "AgIAADgAAAAAAAAAAAAAAEoAAAARAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-06-30T08:09:46.703Z", - "EditorCaption": "" + "WhenOpened": "2025-06-30T08:09:46.703Z" } ] } diff --git a/.vs/ProjectEvaluation/blockipaddr.metadata.v9.bin b/.vs/ProjectEvaluation/blockipaddr.metadata.v9.bin index 9277219..43599db 100644 Binary files a/.vs/ProjectEvaluation/blockipaddr.metadata.v9.bin and b/.vs/ProjectEvaluation/blockipaddr.metadata.v9.bin differ diff --git a/.vs/ProjectEvaluation/blockipaddr.projects.v9.bin b/.vs/ProjectEvaluation/blockipaddr.projects.v9.bin index 58eddef..0807d97 100644 Binary files a/.vs/ProjectEvaluation/blockipaddr.projects.v9.bin and b/.vs/ProjectEvaluation/blockipaddr.projects.v9.bin differ diff --git a/.vs/ProjectEvaluation/blockipaddr.strings.v9.bin b/.vs/ProjectEvaluation/blockipaddr.strings.v9.bin index b50122f..c7b9815 100644 Binary files a/.vs/ProjectEvaluation/blockipaddr.strings.v9.bin and b/.vs/ProjectEvaluation/blockipaddr.strings.v9.bin differ diff --git a/Program.cs b/Program.cs index 0055d35..14d7155 100644 --- a/Program.cs +++ b/Program.cs @@ -24,11 +24,16 @@ internal class Program string rv; string color = string.Empty; - cm.Parameters["@ip4"].Value = arg.Trim(); - rv = cm.ExecuteScalar().ToString() ?? string.Empty; + if (!IsValid(arg)) + Console.WriteLine("{0}ERROR: '{1}{2}{0}' is not a valid IP4 address.{3}", ANSI.fgBrightRed, ANSI.fgBrightWhite, arg.Trim(), ANSI.fgReset); + else + { + cm.Parameters["@ip4"].Value = arg.Trim(); + rv = cm.ExecuteScalar().ToString() ?? string.Empty; - color = rv.StartsWith("!!") ? ANSI.fgBrightRed : ANSI.fgBrightYellow; - Console.WriteLine("Result: {1}{0}{2}", rv, color, ANSI.fgReset); + color = rv.StartsWith("!!") ? ANSI.fgBrightRed : ANSI.fgBrightYellow; + Console.WriteLine("Result: {1}{0}{2}", rv, color, ANSI.fgReset); + } } } } @@ -36,25 +41,73 @@ internal class Program { while (true) { - string ip4 = string.Empty; + 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 }) + if (!IsValid(ip4)) + Console.WriteLine("\n{0}ERROR: '{1}{2}{0}' is not a valid IP4 address.{3}", ANSI.fgBrightRed, ANSI.fgBrightWhite, ip4, ANSI.fgReset); + else { - 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; + 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); + color = rv.StartsWith("!!") ? ANSI.fgBrightRed : ANSI.fgBrightYellow; + Console.WriteLine("\nResult: {1}{0}{2}", rv, color, ANSI.fgReset); + } } } } } + + static internal bool IsValid(string ip) + { + bool rv = false; + + try + { + if (ip.IndexOf('/') > 0) // prevent it from being the first character + { + string[] part = ip.Split('/'); + + if (part.Length != 2) + rv = false; + else + { + System.Net.IPAddress? ip4 = null; + byte subMask = 0; + + if (System.Net.IPAddress.TryParse(part[0].Trim(), out ip4)) + rv = true; + + if (rv && byte.TryParse(part[1].Trim(), out subMask)) + rv = true; + else + rv = false; + } + } + else + { + System.Net.IPAddress? ip4 = null; + if (System.Net.IPAddress.TryParse(ip.Trim(), out ip4)) + rv = true; + else + rv = false; + } + } + catch //(Exception) + { + rv = false; + } + + return rv; + } } diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user index a56e169..c0a0ccc 100644 --- a/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -2,7 +2,7 @@ - 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||; + True|2025-06-30T08:59:56.4591901Z||;True|2025-06-30T04:39:28.6629030-04:00||;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 4d18202..5493990 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 32fe891..0f70233 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 dea2e52..b58a84d 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 d252bb9..87893af 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 32fe891..0f70233 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 c2db643..3645ded 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 948aac1..8bd5263 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 32fe891..0f70233 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 6ce80d1..94df5a2 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 b5957d8..dd4c9d5 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 1068f4f..613b247 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 b5957d8..dd4c9d5 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 1068f4f..613b247 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 8541267..7322196 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+76d5541e7e2e23eff1f7874ec3c40a46ef7e1f8d")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+efb7f1d0d738f43b349531543f29c49f3aeb5470")] [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 4c04f7a..a97187b 100644 --- a/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache +++ b/obj/Debug/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache @@ -1 +1 @@ -61c37c42ee97e4459c046c73f3178cb9717e64e39648654751cd12b3dad0d28b +c84dbfe279a9cd8c0873c77e2b29092480d38fd5ce8820b0e4f176205c0421bf diff --git a/obj/Debug/net9.0-windows/BlockIPAddr.dll b/obj/Debug/net9.0-windows/BlockIPAddr.dll index 4d18202..5493990 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 dea2e52..b58a84d 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 32fe891..0f70233 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 e06a465..f5d9d9f 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 e06a465..f5d9d9f 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 7ca50ef..6130418 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+76d5541e7e2e23eff1f7874ec3c40a46ef7e1f8d")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+efb7f1d0d738f43b349531543f29c49f3aeb5470")] [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 a43b419..46ee4ff 100644 --- a/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache +++ b/obj/Release/net9.0-windows/BlockIPAddr.AssemblyInfoInputs.cache @@ -1 +1 @@ -87dc558f82f5265012bd9142dc02bd8e54fbd91b8009a10a518788f869939f12 +500f127d0ffbefeb4cde081852291a6f06e934c34e9f3103da7408e73bb57605 diff --git a/obj/Release/net9.0-windows/BlockIPAddr.dll b/obj/Release/net9.0-windows/BlockIPAddr.dll index d252bb9..87893af 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 c2db643..3645ded 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 32fe891..0f70233 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 b72bbef..a55f8ba 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 b72bbef..a55f8ba 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 7ca50ef..6130418 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+76d5541e7e2e23eff1f7874ec3c40a46ef7e1f8d")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+efb7f1d0d738f43b349531543f29c49f3aeb5470")] [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 a43b419..46ee4ff 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 @@ -87dc558f82f5265012bd9142dc02bd8e54fbd91b8009a10a518788f869939f12 +500f127d0ffbefeb4cde081852291a6f06e934c34e9f3103da7408e73bb57605 diff --git a/obj/Release/net9.0-windows/win-x64/BlockIPAddr.dll b/obj/Release/net9.0-windows/win-x64/BlockIPAddr.dll index 948aac1..8bd5263 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 6ce80d1..94df5a2 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 32fe891..0f70233 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 7b99581..f975955 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 d2cf54e..3ff1f81 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 d2cf54e..3ff1f81 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 459f5be..1492812 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