PDFix SDK  6.5.0
PsStandardAuthorization Struct Referenceabstract

PsStandardAuthorization class. More...

Inheritance diagram for PsStandardAuthorization:
PsAuthorization

Public Member Functions

virtual bool Activate (const wchar_t *serial_number)=0
 Activates the library using the activation license key. The method requires internet access. More...
 
virtual bool Deactivate ()=0
 Deactivates the library. The method requires internet access. More...
 
virtual bool Update ()=0
 Updates the autorization state. The method requires internet access . More...
 
virtual bool Reset ()=0
 Reset the autorization and delete all local data. More...
 
- Public Member Functions inherited from PsAuthorization
virtual bool SaveToStream (PsStream *stream, PsDataFormat format)=0
 Save the current autorization state into a data file. . More...
 
virtual bool IsAuthorized ()=0
 Returns authorization state. More...
 
virtual bool IsAuthorizedPlatform (PdfAuthPlatform platform)=0
 Returns authorization state of the platform. More...
 
virtual bool IsAuthorizedOption (PdfAuthOption option)=0
 Returns authorization state of the version. More...
 
virtual PdfAuthorizationType GetType ()=0
 Returns authorization type. More...
 

Detailed Description

PsStandardAuthorization class.

PsStandardAuthorization controls the authorization of the library using an activation code.

Member Function Documentation

◆ 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_numberThe license key.
Returns
true if the library was activated successfuly, 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.

◆ Reset()

virtual bool PsStandardAuthorization::Reset ( )
pure virtual

Reset the autorization and delete all local data.

Returns
true if the authorization was reset successfuly, false otherwise.

◆ Update()

virtual bool PsStandardAuthorization::Update ( )
pure virtual

Updates the autorization state. The method requires internet access .

Returns
true if the authorization state was updated successfuly, false otherwise.