GetPeerMACISCL method (ILEADDicomNet)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long GetPeerMACISCL(long hNet);

Overview

Refer to Sending and Receiving Messages with ISCL

Remarks

(Medical Imaging Suite only) Returns a value that represents the MAC type the sender used when sending a message to the receiver.

If the type of MAC is not the same for the sender and the receiver, the message will not be sent successfully. If the encryption mode is not the same on the sender and the receiver, the message will not be sent successfully.

The GetPeerMACISCL method can only be called by the receiver, once the sender has attempted to send a message.

To set the MAC type, use the SetDefaultSigningISCL method.

To set the encryption mode, use the SetDefaultEncryptionISCL method.

The encryption mode and the MAC are specified for every message, not for each connection. Every message can have a different encryption mode and MAC, keeping the connection parameters unchanged.

See Also

Elements:

StartUp method, GetPeerEncryptionISCL method, GetPeerAuthDataISCL method, GetPeerRequestedMessageLengthISCL method

Topics:

DICOM Security: Working with ISCL