SoftwareShield ClientProtector COM Component > ClientProtector (SSCProtector) Reference > IsSystemAuthorized

IsSystemAuthorized


The IsSystemAuthorized function returns a value indicating if the host machine is explicitly added to the authorized machines list in the license by means of the Copy-Protection mechanism.

Syntax

HRESULT IsSystemAuthorized (

VARIANT_BOOL * IsAuthorized

);

Parameters

IsAuthorized  

[OUT] This is a (pointer to a) boolean value which returns true if the host system is authorized to use the license, false otherwise. (see remarks below).

Remarks

Note: This function is illustrated in the SoftwareShield Flowcharts - (see flow chart #3).

The IsSystemAuthorized function returns a value indicating if the host machine is explicitly added to the authorized machines list in the license by means of the Copy-Protection mechanism.

If Copy-Protection is not enabled for the license, IsAuthorized returns holding true, indicating that all machines are authorized (at least by means of the Copy-Protection mechanism).

If Copy-Protection is enabled, the host machines full-length FingerPrint is calculated.  This is compared to any and all entries in the Authorized Computers list inside the license. If the host machines FingerPrint appears in the list, IsAuthorized returns holding true, false otherwise.

Return Value

As with all COM function calls they return an HRESULT. HRESULT is a data type that is a 32-bit error or warning code. Check your compilers documentation for information on interpreting the HRESULT value.

Function Information

Exposed By Interface:

"ISSCProtector"

Exposed In COM Server Binaries:

"SSCProt.dll" and "SSCProtD.dll"

Related Topics