Image Resizer : API Documentation

Type ILicenseStore

Namespace ImageResizer.Plugins

Interfaces IPlugin

Provides a place to cache/store licenses. Only responsible for licenses used by plugins attached to the current Config instance.

Methods

Public instance methods

ICollection<Byte[]> GetLicenses()

Returns a collection containing all licenses for the plugin's Config instance, in encrypted binary form.

void SetLicenses(ICollection<KeyValuePair<string, Byte[]>> licenses)

Stores the given licenses (excluding those present in web.config).
Parameters
ICollection<KeyValuePair<string, Byte[]>> licenses
A collection of 'description' and 'encrypted binary license' pairs.