public static Stations GetStations(string interfaceName) { var SSIDGetterTask = Analyzer.GetSSIDsAsync(interfaceName); SSIDGetterTask.Wait(); var StationFormatterTask = Stations.GetFromStringResultAsync(SSIDGetterTask.Result); return(StationFormatterTask.Result); }