Web.MemoryCache.FetchImage
static ImageBag TECIT.TBarCode.Web.MemoryCache.FetchImage(HttpContext context, string key)Fetches a cached image.
Images are cached in the web server cache. The current HttpContext context is required to access the web server cache. The cached image is identified by the parameter key .
Parameters
| Parameter / type | Description |
|---|---|
context HttpContext |
The current HttpContext. |
key string |
The key of the cached image. |
Returns
The cached image wrapped in a ImageBag.