public JsonResult Test(string processName)
        {
            Ping ping = PingEngine.GetPing(processName);

            return(Json(ping));
        }
示例#2
0
 public Pinger(IHostApplicationLifetime applicationLifetime, PingEngine engine)
 {
     _applicationLifetime = applicationLifetime;
     _engine = engine;
 }