private async void ExecuteProxies() { PingProxi pingProxi = new PingProxi(); List <string> goods = await pingProxi.Example(); goodProxiesList = goods; }
public async Task <List <string> > Example() { var allIps = Proxi.WebanetLabsNet.GetProxi(); var goodIps = await PingProxi.Ping(allIps); return(goodIps); }