LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetIsclEncryptionKey Method
See Also 
Leadtools.Dicom Namespace > DicomNet Class : SetIsclEncryptionKey Method



index
Index into the array of encryption keys. This index is 1-based. Possible values for this index are between 1 and 8, inclusive.
key
A 64-bit integer, in Little Endian byte order, that represents an encryption key.
index
Index into the array of encryption keys. This index is 1-based. Possible values for this index are between 1 and 8, inclusive.
key
A 64-bit integer, in Little Endian byte order, that represents an encryption key.
Sets an encryption key at the specified index in the array of encryption keys.

Syntax

Visual Basic (Declaration) 
Public Sub SetIsclEncryptionKey( _
   ByVal index As Integer, _
   ByVal key As Long _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomNet
Dim index As Integer
Dim key As Long
 
instance.SetIsclEncryptionKey(index, key)
C# 
public void SetIsclEncryptionKey( 
   int index,
   long key
)
C++/CLI 
public:
void SetIsclEncryptionKey( 
   int index,
   int64 key
) 

Parameters

index
Index into the array of encryption keys. This index is 1-based. Possible values for this index are between 1 and 8, inclusive.
key
A 64-bit integer, in Little Endian byte order, that represents an encryption key.

Example

For an example, refer to SetIsclMutualAuthenticationAlgorithm.

Remarks

The index of the encryption key is sent with every message sent from the sender to the receiver. Different encryption keys can be used for each message, as long as the keys of the sender and the receiver match.

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