LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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( 
   % int64 challenge,
   int64 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

For an example, refer to SetIsclMutualAuthenticationAlgorithm.

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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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