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