/// <summary> /// Returns the alliance logo /// </summary> public byte[] GetAllianceLogoData(long allianceId, AllianceLogoSize size) { const string relUri = "/Alliance"; const string ext = ".png"; return(requestImageData(relUri, allianceId, (int)size, ext)); }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public Task <string> GetAllianceLogoAsync(long allianceId, AllianceLogoSize size, string path) { const string relUri = "/Alliance"; const string ext = ".png"; return(requestImageAsync(relUri, allianceId, (int)size, ext, path)); }
/// <summary> /// Returns the alliance logo. /// </summary> public Task<byte[]> GetAllianceLogoDataAsync(long allianceId, AllianceLogoSize size) { const string relUri = "/Alliance"; const string ext = ".png"; return requestImageDataAsync(relUri, allianceId, (int) size, ext); }
/// <summary> /// Returns the alliance logo. /// </summary> public byte[] GetAllianceLogoData(long allianceId, AllianceLogoSize size) { return GetAllianceLogoDataAsync(allianceId, size).Result; }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public Task<string> GetAllianceLogoAsync(long allianceId, AllianceLogoSize size, string path) { const string relUri = "/Alliance"; const string ext = ".png"; return requestImageAsync(relUri, allianceId, (int) size, ext, path); }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public string GetAllianceLogo(long allianceId, AllianceLogoSize size, string path) { return GetAllianceLogoAsync(allianceId, size, path).Result; }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public string GetAllianceLogo(long allianceId, AllianceLogoSize size) { const string relUri = "/Alliance"; const string ext = ".png"; return requestImage(relUri, allianceId, (int) size, ext); }
/// <summary> /// Returns the alliance logo. /// </summary> public byte[] GetAllianceLogoData(long allianceId, AllianceLogoSize size) { return(GetAllianceLogoDataAsync(allianceId, size).Result); }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public string GetAllianceLogo(long allianceId, AllianceLogoSize size, string path) { return(GetAllianceLogoAsync(allianceId, size, path).Result); }