让代码更简单

C#修复谷歌翻译,快速获取翻译服务器IP

重要:本文最后更新于2022-11-13 12:31:37,某些文章具有时效性,若有错误或已失效,请在下方留言或联系代码狗

今天看到一位网友发布的使用python快速扫描最快的Google翻译服务器IP,于是将其转换为C#版本的修复谷歌翻译,扫描最快的翻译服务器IP。

开发过程中发现这居然是GitHub上的开源项目,不过听说原程序十分缓慢,我用C#写的倒是挺快的,基本上三秒内出结果。

修复谷歌翻译,扫描最快的翻译服务器IP

将如下ip保存为ip.txt文件,放在软件同一目录下,点击按钮即可查找最佳IP。

142.250.27.161
142.250.96.192
142.250.99.161
142.250.11.163
142.250.99.90
142.250.9.161
142.250.30.160
142.250.27.90
142.250.8.163
142.250.10.160
142.250.28.162
142.250.8.160
142.250.11.161
142.250.10.90
142.250.8.161
142.250.27.160
142.250.28.161
142.250.10.161
142.250.0.161
142.250.9.192
142.250.8.162
142.250.28.90
142.250.0.90
142.250.4.162
142.250.11.160
142.250.8.90
142.250.9.162
142.250.13.161
142.250.1.161
142.250.1.162
142.250.98.90
142.250.96.160
142.250.12.162
142.250.31.162
142.250.31.160
142.250.11.162
142.250.28.192
142.250.30.163
142.250.98.192
142.250.31.192
142.250.4.161
142.250.12.192
142.250.97.90
142.250.1.192
142.250.9.163
142.250.31.90
142.250.97.162
142.250.12.160
142.250.9.90
142.250.4.163
142.250.10.163
142.250.97.160
142.250.9.160
142.250.12.163
142.250.13.163
142.250.13.162
142.250.98.162
142.250.97.163
142.250.30.161
142.250.28.160
142.250.99.162
142.250.12.161
142.250.27.192
142.250.31.163
142.250.97.161
142.250.0.160
142.250.0.162
142.250.96.90
142.250.13.160
142.250.96.162
142.250.10.192
142.250.4.90
142.250.96.161
142.250.11.192
142.250.1.160
142.250.99.160
142.250.27.162
142.250.10.162
142.250.1.163
142.250.8.192
142.250.31.161
142.250.4.160
142.250.27.163
142.250.30.192
142.250.11.90
142.250.0.192
142.250.13.192
142.250.97.192
142.250.28.163
142.250.98.161
142.250.12.90
142.250.30.90
142.250.98.163
142.250.98.160
142.250.13.90
142.250.99.163
142.250.1.90
142.250.96.163
142.250.4.192
142.250.30.162
142.250.0.163
172.253.114.90
172.217.203.90
172.253.112.90
172.253.116.90
142.250.111.90
172.217.215.90
142.251.9.90
108.177.122.90
142.250.100.90
142.250.110.90
172.217.214.90
172.217.222.90
142.250.126.90
172.217.195.90
172.253.115.90
142.251.5.90
142.250.136.90
142.250.101.90
172.217.192.90
142.250.107.90
172.217.204.90
142.250.125.90
172.253.124.90
142.250.128.90
142.250.112.90
142.250.105.90
172.253.126.90
172.253.123.90
172.253.122.90
172.253.62.90
142.250.185.238
142.251.116.101
216.58.214.14
142.250.189.206
216.58.209.174
142.250.203.142
142.250.218.14
142.251.10.138
142.251.40.174
142.250.185.174
172.217.16.46
172.217.0.46
172.217.31.142
216.58.220.142
172.217.13.142
172.253.113.90
142.250.100.161
142.250.128.160
142.250.111.192
142.250.111.161
142.250.125.192
142.250.112.162
142.250.125.163
142.250.123.161
142.250.102.161
142.250.114.162
142.250.111.163
142.250.99.192
142.250.105.161
142.250.115.160
142.250.100.192
142.250.136.161
142.250.107.192
142.250.123.163
142.250.113.160
142.250.112.161
142.250.126.162
142.250.126.163
142.250.100.162
142.250.110.162
142.250.102.163
142.250.123.192
142.250.136.160
142.250.103.161
142.250.102.90
142.250.115.192
142.250.101.160
142.250.115.161
142.250.113.163
142.250.103.160
142.250.105.160
142.250.123.162
142.250.113.162
142.250.112.163
142.250.113.90
142.250.115.162
142.250.128.162
142.250.101.163
142.250.110.160
142.250.115.90
142.250.100.163
142.250.110.163
142.250.128.161
142.250.126.160
142.250.125.162
142.250.110.192
142.250.114.90
142.250.128.192
142.250.105.162
142.250.114.160
142.250.114.192
142.250.107.161
142.250.128.163
142.250.112.160
142.250.115.163
142.250.114.163
142.250.102.192
142.250.105.192
142.250.113.192
142.250.112.192
142.250.107.160
142.250.136.163
142.250.126.192
142.250.103.163
142.250.107.163
142.250.126.161
142.250.123.90
142.250.102.160
142.250.125.161
142.250.111.160
142.250.100.160
142.250.123.160
142.250.103.192
142.250.114.161
142.250.105.163
142.250.103.162
142.250.107.162
142.250.101.192
142.250.125.160
142.250.111.162
142.250.102.162
142.250.113.161
142.250.101.162
142.250.136.162
142.250.110.161
142.250.103.90
142.250.101.161

142.250.4.90
172.253.114.90
172.217.203.90
172.253.112.90
142.250.9.90
172.253.116.90
142.250.97.90
142.250.30.90
142.250.111.90
172.217.215.90
142.250.11.90
142.251.9.90
108.177.122.90
142.250.96.90
142.250.100.90
142.250.110.90
172.217.214.90
172.217.222.90
142.250.31.90
142.250.126.90
142.250.10.90
172.217.195.90
172.253.115.90
142.251.5.90
142.250.136.90
142.250.12.90
142.250.101.90
172.217.192.90
142.250.0.90
142.250.107.90
172.217.204.90
142.250.28.90
142.250.125.90
172.253.124.90
142.250.8.90
142.250.128.90
142.250.112.90
142.250.27.90
142.250.105.90
172.253.126.90
172.253.123.90
172.253.122.90
172.253.62.90
142.250.98.90
142.250.185.238
142.251.116.101
216.58.214.14
142.250.189.206
216.58.209.174
142.250.203.142
142.250.218.14
142.251.10.138
142.251.40.174
142.250.185.174
172.217.16.46
172.217.0.46
172.217.31.142
216.58.220.142
172.217.13.142
172.253.113.90

如果找不到合适的IP地址,可以使用网友更新的最新IP地址:https://ghproxy.com/https://github.com/Ponderfly/GoogleTranslateIpCheck/releases/download/1.1.1/ips.txt

下载后注意修改文件名。

获得最佳地址后,点击最佳IP数据即可自动复制host到剪切板,然后打开C:\Windows\System32\drivers\etc\host文件,在末尾粘贴保存即可。

如果发现长时间不生效,可以使用命令提示行的ipconfig /flushdns命令刷新DNS。

注意:使用此程序需要电脑安装.net4.5环境,一般win10自带,如果没有可以自行安装。

感觉很棒!可以赞赏支持我哟~

0 打赏

评论 (0)

登录后评论
QQ咨询 邮件咨询 狗哥推荐