LicenseLoader¶
Namespace: ThinkGeo.UI.Maui
Provides helpers for loading and validating ThinkGeo license files at runtime.
public static class LicenseLoader
Inheritance Object → LicenseLoader
Methods¶
LoadLicense(String)¶
Loads the specified license file from the application package into the in-memory cache.
public static Task LoadLicense(string licenseFileName)
Parameters¶
licenseFileName String
The name of the license file embedded in the app package.
Returns¶
Task
A task that completes when the license has been loaded.
CheckInstaller(AbsoluteLayout)¶
Validates the loaded license and optionally draws the required watermark.
internal static void CheckInstaller(AbsoluteLayout canvas)
Parameters¶
canvas AbsoluteLayout
The layout used to render the watermark.