PsStandardAuthorization class.
More...
#include <pdfix.h>
PsStandardAuthorization class.
PsStandardAuthorization controls the authorization of the library using an activation code.
◆ Activate()
virtual bool PsStandardAuthorization::Activate |
( |
const wchar_t * |
serial_number | ) |
|
|
pure virtual |
Activates the library using the activation license key. The method requires internet access.
- Parameters
-
serial_number | The license key. |
- Returns
- true if the library was activated successfuly, false otherwise.
◆ ActivateOffline()
virtual bool PsStandardAuthorization::ActivateOffline |
( |
const wchar_t * |
activation_file | ) |
|
|
pure virtual |
Activates the library using the activation response file.
- Parameters
-
activation_file | path to local license activation file |
- Returns
- true if the library was activated successfuly, false otherwise.
◆ CreateOfflineActivationFile()
virtual bool PsStandardAuthorization::CreateOfflineActivationFile |
( |
const wchar_t * |
serial_number, |
|
|
const wchar_t * |
activation_request_file |
|
) |
| |
|
pure virtual |
Create license activation request file for offline activation.
- Parameters
-
serial_number | The license key. |
activation_request_file | path to local deactivation request file |
- Returns
- true if the license activation request file was created, false otherwise.
◆ Deactivate()
virtual bool PsStandardAuthorization::Deactivate |
( |
| ) |
|
|
pure virtual |
Deactivates the library. The method requires internet access.
- Returns
- true if the library was deactivated successfuly, false otherwise.
◆ DeactivateOffline()
virtual bool PsStandardAuthorization::DeactivateOffline |
( |
const wchar_t * |
deactivation_request_file | ) |
|
|
pure virtual |
Create license deactivation file for offline deactivation.
- Parameters
-
deactivation_request_file | path to local deactivation request file |
- Returns
- true if the library was deactivated successfuly, false otherwise.
◆ Reset()
virtual bool PsStandardAuthorization::Reset |
( |
| ) |
|
|
pure virtual |
Reset the autorization and delete all local data.
- Returns
- true if the authorization local data was removed successfuly, false otherwise.
◆ Update()
virtual bool PsStandardAuthorization::Update |
( |
bool |
local | ) |
|
|
pure virtual |
Updates the autorization state. The method requires internet access .
- Parameters
-
local | Update the license from a local file if true, over the internet if false |
- Returns
- true if the authorization state was updated successfuly, false otherwise.
◆ UpdateOffline()
virtual bool PsStandardAuthorization::UpdateOffline |
( |
const wchar_t * |
update_file | ) |
|
|
pure virtual |
Updates the autorization state. The method requires internet access .
- Parameters
-
local | Update the license from a local file if true, over the internet if false |
- Returns
- true if the authorization state was updated successfuly, false otherwise.