PDFix SDK  6.5.0
PsAccountAuthorization Struct Referenceabstract

PsAccountAuthorization class. More...

Inheritance diagram for PsAccountAuthorization:
PsAuthorization

Public Member Functions

virtual bool Authorize (const wchar_t *email, const wchar_t *serial_number)=0
 Authorizes Pdfix using an email and the license key. 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

PsAccountAuthorization class.

PsAccountAuthorization controls the authorization of the library using a name and serial key.

Member Function Documentation

◆ Authorize()

virtual bool PsAccountAuthorization::Authorize ( const wchar_t *  email,
const wchar_t *  serial_number 
)
pure virtual

Authorizes Pdfix using an email and the license key.

Returns
true if Pdfix was authorized successfuly, false otherwise.