Beispiel #1
0
        public async Task GetWar_NoErrors()
        {
            War data = await crest.GetWarAsync(291410);

            byte[] image = crest.LoadImage(data.Aggressor.Icon);
            Debug.WriteLine(image);
        }
Beispiel #2
0
 public async Task GetIcon()
 {
     var item = (await _crest.GetRoot().QueryAsync(r => r.MarketTypes)).Items.First();
     var icon = _crest.LoadImage(item.Type.Icon);
 }