CmSetCertifiedTimeUpdate
Description
CmSetCertifiedTimeUpdate gets the current certified time and date stamp (CTDS) from the provided Certified Time Creation Server (CTCS) and sets it into the CmContainer.
|
Triple Mode Redundancy-related information (TMR)
|
Syntax
int CMAPIENTRY CmSetCertifiedTimeUpdate(HCMSysEntry hcmse, char *pszCtcsServer)
Parameter
hcmse contains a handle opened by CmAccess / CmAccess2. Can be Box Access. The certified date and time stamp (CTDS) of this CmContainer will be updated.
pszTimeServer contains the name or IP-address of the Certified Time Creation Server (CTCS) to be queried for the certified time and date stamp (CTDS). This string can be NULL. In this case, the name or IP-address will be read from profiling.
Return
TRUE, if time and date of the CmContainer was updated successfully - FALSE, if not.
Notes
The Certified Time Creation Server (CTCS) is a product created by NEOL (http://www.neol.com).
Syntax
public bool CmSetCertifiedTimeUpdate(HCMSysEntry hcmse, string CtcsServer) |
Parameter
hcmse contains a handle opened by CmAccess / CmAccess2. Can be Box Access. The certified date and time stamp (CTDS) of this CmContainer will be updated.
CtcsServer contains the name or IP-address of the Certified Time Creation Server (CTCS) to be queried for the certified time and date stamp (CTDS). This string can be NULL. In this case, the name or IP-address will be read from profiling.
Return
true, if time and date of the CmContainer was updated successfully - false, if not.
Notes
The Certified Time Creation Server (CTCS) is a product created by NEOL (http://www.neol.com).
Syntax
import cmapi
handle.CmSetCertifiedTimeUpdate(pszCtcsServer: str) -> None
throws CodeMeterApiFailedException()
Parameter
handle is the handle opened by CmAccess / CmAccess2. Can be Box Access. The certified date and time stamp (CTDS) of this CmContainer will be updated.
pszCtcsServer contains the name or IP-address of the Certified Time Creation Server (CTCS) to be queried for the certified time and date stamp (CTDS). This string can be empty (""). In this case, the name or IP-address will be read from profiling.
Return
No return valued. If an error occurs a CodeMeterApiFailedException is thrown.
Notes
The Certified Time Creation Server (CTCS) is a product created by NEOL (http://www.neol.com).