![]() |
LicenseSpring .Net SDK 7.22.0
Easily add Software Licensing to your application
|
Class that saves license in a file and provides interprocess synchronization for the license file More...
Public Member Functions | |
override void | Clear () |
Removes local license data More... | |
LicenseFileStorageEx () | |
LicenseFileStorageEx constructor | |
LicenseFileStorageEx (string licenseFilePath=null) | |
LicenseFileStorageEx constructor More... | |
override string | LoadLicense () |
Load license from file More... | |
override void | SaveLicense (string licenseData) |
Saves given license data string to the file More... | |
![]() | |
virtual void | Clear () |
Removes local license data More... | |
string | LicenseFilePath () |
Returns full path to the license file More... | |
LicenseFileStorage () | |
LicenseFileStorage constructor | |
LicenseFileStorage (string licenseFilePath=null) | |
LicenseFileStorage constructor More... | |
virtual string | LoadLicense () |
Load license from file More... | |
virtual void | SaveLicense (string licenseData) |
Saves given license data string to the file More... | |
void | Clear () |
Removes local license data More... | |
string | LoadLicense () |
Load license data More... | |
void | SaveLicense (string licenseData) |
Save license data somewhere More... | |
Properties | |
string | MutexName [get, set] |
Mutex name for Interprocess Synchronization More... | |
int | WaitTimeout [get, set] |
Mutex wait timeout in milliseconds More... | |
![]() | |
string | LicenseFileName [get, set] |
License filename with extension (optional) More... | |
string | LicenseFolderPath [get, set] |
Folder path where License file is being stored More... | |
Additional Inherited Members | |
![]() | |
void | DeleteFile () |
Delete license file | |
string | LoadFromFile () |
Read string data from the file More... | |
void | SaveToFile (string data) |
Write string data to the file More... | |
Class that saves license in a file and provides interprocess synchronization for the license file
Use this storage if you intend to use many instances of your application simultaneously.
LicenseSpring.LicenseFileStorageEx.LicenseFileStorageEx | ( | string | licenseFilePath = null | ) |
LicenseFileStorageEx constructor
licenseFilePath | Optional argument, path to the license file |
|
virtual |
Removes local license data
Reimplemented from LicenseSpring.LicenseFileStorage.
|
virtual |
Load license from file
Reimplemented from LicenseSpring.LicenseFileStorage.
|
virtual |
Saves given license data string to the file
Reimplemented from LicenseSpring.LicenseFileStorage.
|
getset |
Mutex name for Interprocess Synchronization
Default MutexName is "Global\\" + Normalized( LicenseFilePath() )
|
getset |
Mutex wait timeout in milliseconds
Default timeout is 5 seconds (5000 ms)