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

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

Simple class that stores license data in memory. Implements `ILicenseStorage` interface. More...

Inheritance diagram for LicenseSpring.LicenseMemoryStorage:

## Public Member Functions
void | Clear ()
| Removes local license data.
| LicenseMemoryStorage ()
| LicenseMemoryStorage constructor.
string | LoadLicense ()
| Load license data from memory (variable)
void | SaveLicense (string licenseData)
| Saves license data in a variable.

## Detailed Description

Simple class that stores license data in memory. Implements `ILicenseStorage` interface.

This is the default storage type when ExtendedOptions.WebServiceMode is set.

This class is thread safe.

## Member Function Documentation

## ◆ Clear()

void LicenseSpring.LicenseMemoryStorage.Clear | ( |  | ) |

Removes local license data.

Implements LicenseSpring.ILicenseStorage.

## ◆ LoadLicense()

string LicenseSpring.LicenseMemoryStorage.LoadLicense | ( |  | ) |

Load license data from memory (variable)

Returns
  Encrypted license data string

Implements LicenseSpring.ILicenseStorage.

## ◆ SaveLicense()

void LicenseSpring.LicenseMemoryStorage.SaveLicense | ( | string | licenseData | ) |

Saves license data in a variable.

Parameters

  licenseData | Encrypted license data string

Implements LicenseSpring.ILicenseStorage.

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

- ILicenseStorage.cs