Generates a random number. This function is available in the PACS Imaging toolkits.
#include "ltdic.h"
virtual L_UINT32 LDicomNet::GetChallengeISCL(nChallenge, nParameter)
Pointer to a variable to be updated with the random number generated in the callback. This number is similar to a time stamp.
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.
Win32, x64
For an example, refer to LDicomNet::IsISCLQueueEmpty.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document