/// <summary> /// Returns the corporation logo /// </summary> public byte[] GetCorporationLogoData(long corporationId, CorporationLogoSize size) { const string relUri = "/Corporation"; const string ext = ".png"; return(requestImageData(relUri, corporationId, (int)size, ext)); }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public Task <string> GetCorporationLogoAsync(long corporationId, CorporationLogoSize size, string path) { const string relUri = "/Corporation"; const string ext = ".png"; return(requestImageAsync(relUri, corporationId, (int)size, ext, path)); }
/// <summary> /// Returns the corporation logo data. /// </summary> public Task<byte[]> GetCorporationLogoDataAsync(long corporationId, CorporationLogoSize size) { const string relUri = "/Corporation"; const string ext = ".png"; return requestImageDataAsync(relUri, corporationId, (int) size, ext); }
/// <summary> /// Returns the corporation logo data. /// </summary> public byte[] GetCorporationLogoData(long corporationId, CorporationLogoSize size) { return GetCorporationLogoDataAsync(corporationId, size).Result; }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public Task<string> GetCorporationLogoAsync(long corporationId, CorporationLogoSize size, string path) { const string relUri = "/Corporation"; const string ext = ".png"; return requestImageAsync(relUri, corporationId, (int) size, ext, path); }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public string GetCorporationLogo(long corporationId, CorporationLogoSize size, string path) { return GetCorporationLogoAsync(corporationId, size, path).Result; }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public string GetCorporationLogo(long corporationId, CorporationLogoSize size) { const string relUri = "/Corporation"; const string ext = ".png"; return requestImage(relUri, corporationId, (int) size, ext); }
/// <summary> /// Returns the corporation logo data. /// </summary> public byte[] GetCorporationLogoData(long corporationId, CorporationLogoSize size) { return(GetCorporationLogoDataAsync(corporationId, size).Result); }
/// <summary> /// Saves the image to disk , and returns the path to the image. /// </summary> public string GetCorporationLogo(long corporationId, CorporationLogoSize size, string path) { return(GetCorporationLogoAsync(corporationId, size, path).Result); }