Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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

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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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