diff --git a/.vs/Crypto_Wallets_Scanner/v16/.suo b/.vs/Crypto_Wallets_Scanner/v16/.suo index a7e1147..a9d6d90 100644 Binary files a/.vs/Crypto_Wallets_Scanner/v16/.suo and b/.vs/Crypto_Wallets_Scanner/v16/.suo differ diff --git a/Crypto_Wallets_Scanner/Wallets_Scanner.cs b/Crypto_Wallets_Scanner/Wallets_Scanner.cs index 090c045..bb8c3a6 100644 --- a/Crypto_Wallets_Scanner/Wallets_Scanner.cs +++ b/Crypto_Wallets_Scanner/Wallets_Scanner.cs @@ -25,6 +25,29 @@ public Wallets_Scanner(string wallet_address) { this.wallet_address = wallet_address; } + + static bool ContainsOnlyZeroesAndSpecialChars(string input) + { + foreach (char c in input) + { + // Check if the character is not '0' and not a special character + if (c != '0' && !IsSpecialCharacter(c)) + { + return false; + } + } + return true; + } + + static bool IsSpecialCharacter(char c) + { + // Define the set of special characters you want to consider + string specialChars = "!@#$%^&*()_+[]{}|;':\",./<>?`~\\-"; + + // Check if the character is in the set of special characters + return specialChars.Contains(c); + } + public string GetWalletBallance(string wallet,string blockchaine,string blockch,string id) { string result = ""; @@ -38,7 +61,17 @@ public string GetWalletBallance(string wallet,string blockchaine,string blockch, if (bnb != null) { string balance = bnb.InnerText.Trim(); - result = blockch + " Network, Wallet: " + wallet + " | Balance: " + balance.Replace(" ","").Replace("\n","").Replace("{{Math.abs(change)}}%","") + " \n_____________________________________________\n"; + balance = balance.Replace(" ", "").Replace("\n", "").Replace("{{Math.abs(change)}}%", ""); + + if (balance == "0BTC0USD") + { + result = string.Empty; + } + else + { + result = blockch + " Network, Wallet: " + wallet + " | Balance: " + balance + " \n_____________________________________________\n"; + } + } else { diff --git a/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.exe b/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.exe index 92dfb2b..bf4c281 100644 Binary files a/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.exe and b/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.exe differ diff --git a/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.pdb b/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.pdb index 521d97e..8f466bc 100644 Binary files a/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.pdb and b/Crypto_Wallets_Scanner/bin/Debug/Crypto_Wallets_Scanner.pdb differ diff --git a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.AssemblyReference.cache b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.AssemblyReference.cache index 82507b3..f5e894a 100644 Binary files a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.AssemblyReference.cache and b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.AssemblyReference.cache differ diff --git a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.GenerateResource.cache b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.GenerateResource.cache index aec4f51..62efba8 100644 Binary files a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.GenerateResource.cache and b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.csproj.GenerateResource.cache differ diff --git a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.exe b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.exe index 92dfb2b..bf4c281 100644 Binary files a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.exe and b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.exe differ diff --git a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.pdb b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.pdb index 521d97e..8f466bc 100644 Binary files a/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.pdb and b/Crypto_Wallets_Scanner/obj/Debug/Crypto_Wallets_Scanner.pdb differ diff --git a/Crypto_Wallets_Scanner/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Crypto_Wallets_Scanner/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 56f3c27..539e4e5 100644 Binary files a/Crypto_Wallets_Scanner/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Crypto_Wallets_Scanner/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ