LEADTOOLS Medical (Leadtools.Dicom assembly)

GetChallengeIscl Method

Show in webframe







A variable to be updated with the random number generated. This number is similar to a time stamp.
A value that indicates the current mutual authentication key.
Generates a random number.
Syntax
protected virtual bool GetChallengeIscl( 
   ref long challenge,
   long parameter
)
'Declaration
 
Protected Overridable Function GetChallengeIscl( _
   ByRef challenge As Long, _
   ByVal parameter As Long _
) As Boolean
'Usage
 
Dim instance As DicomNet
Dim challenge As Long
Dim parameter As Long
Dim value As Boolean
 
value = instance.GetChallengeIscl(challenge, parameter)
protected virtual bool GetChallengeIscl( 
   ref long challenge,
   long parameter
)

            

            
 function Leadtools.Dicom.DicomNet.GetChallengeIscl( 
   challenge ,
   parameter 
)
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.
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.
Example
For an example, refer to SetIsclMutualAuthenticationAlgorithm.
Requirements

Target Platforms

See Also

Reference

DicomNet Class
DicomNet Members
GetLastIsclOrTlsError Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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