Web.MemoryCache.FetchImage

Web.MemoryCache

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 / typeDescription
context HttpContext

The current HttpContext.

key string

The key of the cached image.

Returns

The cached image wrapped in a ImageBag.

Search documentation

Search in
More scopes
Additional scopes

All contents