Table of Contents

Class License

Namespace
Slidize
Assembly
Slidize.Plugins.dll

Provides methods for license management.

public static class License
Inheritance
License
Inherited Members

Methods

PlugLicense(Stream)

Plugs license from the specified stream.

public static void PlugLicense(Stream stream)

Parameters

stream Stream

The stream from which to read the license data.

Examples

using FileStream myStream = new("MyLicense.lic", FileMode.Open, FileAccess.Read);
License.PlugLicense(myStream);

Exceptions

ArgumentException

PlugLicense(string)

Plugs license from the specified file path.

public static void PlugLicense(string path)

Parameters

path string

The path to the license file.

Examples

License.PlugLicense("MyLicense.lic");

Exceptions

ArgumentException