| LicenseSpring Management .Net SDK 1.16.1 Easily add Software Licensing to your application

Loading...
Searching...
No Matches
Public Member Functions | List of all members
LicenseSpring.LicenseIDFactory Class Reference

Helper factory class for creating LicenseID objects for COM clients. More...

Inheritance diagram for LicenseSpring.LicenseIDFactory:

## Public Member Functions
ILicenseID | CreateFromKey (string licenseKey)
| Creates new object of LicenseID with given license key. Returns new LicenseID object
ILicenseID | CreateFromUser (string user, string password="")
| Creates new object of LicenseID with given user credential. Returns new LicenseID object

## Detailed Description

Helper factory class for creating LicenseID objects for COM clients.

## Member Function Documentation

## ◆ CreateFromKey()

ILicenseID LicenseSpring.LicenseIDFactory.CreateFromKey | ( | string | licenseKey | ) |

Creates new object of LicenseID with given license key.

Returns
  new LicenseID object

Implements LicenseSpring.ILicenseIDFactory.

## ◆ CreateFromUser()

ILicenseID LicenseSpring.LicenseIDFactory.CreateFromUser | ( | string | user,
|  | string | password = `""`
| ) |  |

Creates new object of LicenseID with given user credential.

Returns
  new LicenseID object

Implements LicenseSpring.ILicenseIDFactory.

The documentation for this class was generated from the following file:

- LicenseID.cs