PsAuthorization class.
More...
PsAuthorization class.
PsAuthorization controls the authorization state of the library.
◆ GetType()
Returns authorization type.
- Returns
- authorization type.
◆ IsAuthorized()
virtual bool PsAuthorization::IsAuthorized |
( |
| ) |
|
|
pure virtual |
Returns authorization state.
- Returns
- true if PDFix was authorized, false othervise.
◆ IsAuthorizedOption()
virtual bool PsAuthorization::IsAuthorizedOption |
( |
PdfAuthOption |
option | ) |
|
|
pure virtual |
Returns authorization state of the version.
- Returns
- true if PDFix was authorized for this option, false othervise.
◆ IsAuthorizedPlatform()
virtual bool PsAuthorization::IsAuthorizedPlatform |
( |
PdfAuthPlatform |
platform | ) |
|
|
pure virtual |
Returns authorization state of the platform.
- Returns
- true if PDFix was authorized for this platform, false othervise.
◆ SaveToStream()
Save the current autorization state into a data file. .
- Parameters
-
stream | PsStream where to save license data in requested format. |
format | Format of the source stream. JSON and XML format is supported. |
- Returns
- true if succeeded, false otherwise.