Table of Contents

Class LicenseManager

Namespace
Inetlab.SMPP
Assembly
cs.temp.dll.dll
Manager for library license.
public static class LicenseManager
Inheritance
Object
LicenseManager

Properties

Status

Returns actual staus of the license. It helps to distinguish evaluation license from full license.
public static string Status { get; }

Property Value

String

Methods

SetLicense(Stream)

Sets a license for Inetlab.SMPP library.
public static bool SetLicense(Stream stream)

Parameters

stream Stream
The stream, that contains license

Returns

Boolean
True if it succeeds and license is valid, false if it fails.

SetLicense(String)

Sets a license for Inetlab.SMPP library.
public static bool SetLicense(string licenseContent)

Parameters

licenseContent String
The string, that contains license

Returns

Boolean
True if it succeeds and license is valid, false if it fails.