CmSetRemoteUpdate2
This function is deprecated, please use function CmExecuteRemoteUpdate instead.
Description
CmSetRemoteUpdate2 programs a CmContainer with a given remote activation Update File *.WibuCmRaU. This file contains all information needed for programming an entry into a CmContainer securely.
|
Triple Mode Redundancy-related information (TMR)
|
Syntax
int CMAPIENTRY CmSetRemoteUpdate2(HCMSysEntry hcmBox, CMUINT flCtrl, void *pvRauFile)
Parameter
flCtrl hcmBox contains a handle to the CmContainer to be updated (can be Box Access or Entry Access).
flCtrl contains one of the following flags:
CM_RMT_LOCAL_ENCODING uses local encoding for the given filename.
CM_RMT_UTF8_ENCODING uses UTF8 encoding for the given filename.
CM_RMT_WCHAR_ENCODING uses wchar encoding for the given filename.
If no encoding flag is set, the local encoding is used.
pvRauFile contains a pointer to the NULL-terminated filename of the Update File *.WibuCmRaU in the encoding that is defined in flCtrl.
Syntax
No method available.
Syntax
import cmapi
handle.CmSetRemoteUpdate2(flCtrl: int, pvRauFile: bytes) -> bool
throws CodeMeterApiFailedException()
Parameter
handle is the handle to the CmContainer to be updated (can be Box Access or Entry Access).
flCtrl contains one of the following flags:
cmapi.CM_RMT_LOCAL_ENCODING uses local encoding for the given filename.
cmapi.CM_RMT_UTF8_ENCODING uses UTF8 encoding for the given filename.
cmapi.CM_RMT_WCHAR_ENCODING uses wchar encoding for the given filename.
If no encoding flag is set, the local encoding is used.
pvRauFile contains a buffer with the Update File *.WibuCmRaU in the encoding that is defined in flCtrl.