Apply License

UnoViewer's sample license file is shown below. A trial license file is made available to you with the samples. There is no time limit (days) or feature restrictions in the trial version. However a trial license will show watermark and there are minor limitations.

<License sha1='4c685f65267b4cf99fb32c27b4cad4d5'>
	<Owner>Trial</Owner>
	<Key>KSx5A1Pw844v/vgCfeGvOabQ==</Key>
	<Type>KSaQssNssSIBJq1plO0qbT9w==</Type>
	<Domain>KSbT6CjBgj/yWvYdwTzOqspA==</Domain>
	<UpdatesY>KS3rW7UWC2E2A/QHp+wPUpqA==</UpdatesY>
	<UpdatesM>KSgkLdZHQ1l7yRbZaYB8M++A==</UpdatesM>
	<EULA>Limited Trial. Updates till 2050.8.</EULA>
</License>

As mentioned in the deployment section, UnoViewer.xml.licx is the license file present in the unoViewer folder at the website's root path.

Webforms

UnoViewer will automatically check for a valid license file at this location. However you may also embed the license file in your code or place the license xml at a custom location.

public static void UnoLicense(XmlDocument license)

The license XML is first loaded into a XmlDocument object and supplied as a parameter to the static UnoLicense method of the control.


MVC / Razor

Embedding the license file in your code remains the same as Webforms. You can also pass the path of the license file in the viewer's constructor as shown below.

public UnoViewer(IMemoryCache cache, 
            IHttpContextAccessor httpContextAccessor, 
                string licensePath, ViewOptions options)