public static int Ping(string host) { Fuse fuse = new Fuse(); fuse.Host(host); fuse.Connect(); int time = Environment.TickCount; fuse.Push("ping"); return(Environment.TickCount - time); }
public static int Ping(string host) { Fuse fuse = new Fuse(); fuse.Host(host); fuse.Connect(); int time = Environment.TickCount; fuse.Push("ping"); return Environment.TickCount - time; }