#include "ltdic.h"

virtual L_UINT32 LDicomNet::GetChallengeISCL(nChallenge, nParameter)

Generates a random number. This function is available in the PACS Imaging toolkits.


L_UINT64 *nChallenge

Pointer to a variable to be updated with the random number generated in the callback. This number is similar to a time stamp.

L_UINT64 nParameter

Value that indicates the current mutual authentication key.


Value Meaning
DICOM_SUCCESS The generation of the random number was successful.
<> DICOM_SUCCESS The generation of the random number was not successful.


The generation of a random number can use a pool of random (or pseudo-random) data. If the pool is empty, the GetChallenge function may fail. In this case, try to call GetChallenge later in the application, when some random data has been added to the pool.

Required DLLs and Libraries


Win32, x64

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help