WebCache/WebCache.cs
/// <summary>
/// Gets byte array from the url.
/// </summary>
/// <param name="url">URL.</param>
/// <returns>Byte array.</returns>
Gets byte array from the url.
Gets byte array from the url .
public async Task<byte[]> GetWebResourceAsync(string url)
        {
            var bytes = await GetWebResourceAsync(url, DateTimeOffset.Now - DefaultCacheExpiry);
            return bytes;
        }
public async Task < byte [ ] > GetWebResourceAsync ( string url ) { var bytes = await GetWebResourceAsync ( url , DateTimeOffset . Now - DefaultCacheExpiry ) ; return bytes ; }
Gets byte array from the url.
Gets byte array from the url .
None
url
string
None