Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetChallengeIscl Method
See Also 
Leadtools.Dicom Namespace > DicomNet Class : GetChallengeIscl Method



challenge
A variable to be updated with the random number generated. This number is similar to a time stamp.
parameter
A value that indicates the current mutual authentication key.
challenge
A variable to be updated with the random number generated. This number is similar to a time stamp.
parameter
A value that indicates the current mutual authentication key.
Generates a random number.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function GetChallengeIscl( _
   ByRef challenge As Long, _
   ByVal parameter As Long _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DicomNet
Dim challenge As Long
Dim parameter As Long
Dim value As Boolean
 
value = instance.GetChallengeIscl(challenge, parameter)
C# 
protected virtual bool GetChallengeIscl( 
   ref long challenge,
   long parameter
)
C++/CLI 
protected:
virtual bool GetChallengeIscl( 
   ref long challenge,
   long parameter
) 

Parameters

challenge
A variable to be updated with the random number generated. This number is similar to a time stamp.
parameter
A value that indicates the current mutual authentication key.

Return Value

true if the generation of the random number was successful; otherwise, false.

Example

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features