Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-Handling exception - SocketException v5.1.3
Greedeksd40c3a872c94
diff --git a/.Source/GTweak/Properties/AssemblyInfo.cs b/.Source/GTweak/Properties/AssemblyInfo.csindex 4e4c0d0b..c5a6340f 100644--- a/.Source/GTweak/Properties/AssemblyInfo.cs+++ b/.Source/GTweak/Properties/AssemblyInfo.cs@@ -7,9 +7,9 @@ using System.Windows;[assembly: AssemblyProduct("GTweak")][assembly: AssemblyCopyright("© 2024-2025 Greedeks")][assembly: AssemblyTrademark("Greedeks")]-[assembly: AssemblyInformationalVersion("Build: 5.1.2")]-[assembly: AssemblyVersion("5.1.50.778")]-[assembly: AssemblyFileVersion("5.1.50.778")]+[assembly: AssemblyInformationalVersion("Build: 5.1.3")]+[assembly: AssemblyVersion("5.1.28.437")]+[assembly: AssemblyFileVersion("5.1.28.437")][assembly: ComVisible(false)]diff --git a/.Source/GTweak/Properties/AssemblyInfo.tt b/.Source/GTweak/Properties/AssemblyInfo.ttindex e6848d7d..4f45d380 100644--- a/.Source/GTweak/Properties/AssemblyInfo.tt+++ b/.Source/GTweak/Properties/AssemblyInfo.tt@@ -9,7 +9,7 @@ using System.Windows;[assembly: AssemblyProduct("GTweak")][assembly: AssemblyCopyright("© 2024-<#= DateTime.Now.Year #> Greedeks")][assembly: AssemblyTrademark("Greedeks")]-[assembly: AssemblyInformationalVersion("Build: 5.1.2")]+[assembly: AssemblyInformationalVersion("Build: 5.1.3")][assembly: AssemblyVersion("5.<#= GenerateVersion() #>")][assembly: AssemblyFileVersion("5.<#= GenerateVersion() #>")]diff --git a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.csindex d6e765fc..1a6e8c5a 100644--- a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs+++ b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs@@ -307,15 +307,18 @@ namespace GTweak.Utilities.Configuration{ Name: string name } when name.StartsWith("zh") => "baidu.com",{ Name: string name } when name.StartsWith("ru") => "yandex.ru",{ Name: string name } when name.StartsWith("ko") => "naver.com",- _ => "google.com",+ _ => "google.com"};TimeSpan timeout = TimeSpan.FromSeconds(5.0);+using Task<IPAddress> task = Task.Run(() =>{- return Dns.GetHostEntry(dns).AddressList[0];+ try { return Dns.GetHostEntry(dns).AddressList[0]; }+ catch { return null; }});- if (!task.Wait(timeout))++ if (!task.Wait(timeout) || task.Result == null)return false;return true;