virtual L_UINT32 LDicomNet::GetChallengeISCL(nChallenge, nParameter)
Generates a random number. This function is available in the PACS Imaging toolkits.
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.
|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
For an example, refer to LDicomNet::IsISCLQueueEmpty.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries