Update SpeedtestHandler.cs
This commit is contained in:
@@ -252,7 +252,7 @@ namespace v2rayN.Handler
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
IPHostEntry ipHostInfo = System.Net.Dns.Resolve(url);
|
IPHostEntry ipHostInfo = System.Net.Dns.GetHostEntry(url);
|
||||||
IPAddress ipAddress = ipHostInfo.AddressList[0];
|
IPAddress ipAddress = ipHostInfo.AddressList[0];
|
||||||
|
|
||||||
var timer = new Stopwatch();
|
var timer = new Stopwatch();
|
||||||
|
|||||||
Reference in New Issue
Block a user