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
StreamThe stream from which to read the license data.
Examples
using FileStream myStream = new("MyLicense.lic", FileMode.Open, FileAccess.Read);
License.PlugLicense(myStream);
Exceptions
PlugLicense(string)
Plugs license from the specified file path.
public static void PlugLicense(string path)
Parameters
path
stringThe path to the license file.
Examples
License.PlugLicense("MyLicense.lic");