←Select platform

SendNGetRequest Method (DicomNet)

Summary

Sends an N-GET-REQ message to a peer member of a connection.

Syntax

C#
VB
WinRT C#
C++
public void SendNGetRequest(  
   byte presentationID, 
   int messageID, 
   string affectedClass, 
   string instance, 
   long[] attributes, 
   int count 
) 
Public Sub SendNGetRequest( _ 
   ByVal presentationID As Byte, _ 
   ByVal messageID As Integer, _ 
   ByVal affectedClass As String, _ 
   ByVal instance As String, _ 
   ByVal attributes() As Long, _ 
   ByVal count As Integer _ 
)  
public void SendNGetRequest(  
   byte presentationID, 
   int messageID, 
   string affectedClass, 
   string instance, 
   long[] attributes, 
   int count 
) 
 function Leadtools.Dicom.Networking.DicomNet.SendNGetRequest(  
   presentationID , 
   messageID , 
   affectedClass , 
   instance , 
   attributes , 
   count  
) 
public: 
void SendNGetRequest(  
   byte presentationID, 
   int messageID, 
   String^ affectedClass, 
   String^ instance, 
   array<int64>^ attributes, 
   int count 
)  

Parameters

presentationID
The Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.

messageID
The Message ID. Each message sent by a member of a connection should have a unique ID. Since a member of a connection may send several messages, this ID allows that member to identify when a specific request has been completed.

affectedClass
The class affected by the request. This will be a SOP Class or a Meta SOP Class.

instance
The instance of the class. A server may, for example, have three instances of the Nuclear Medicine Class. This value identifies the data with a specific instance.

attributes
An array of the attributes to get. The attributes must be specified using the Data Element Tags. For a list of available Data Element Tags, refer to Data Element Tag Values.

count
The number of attributes being requested.

Remarks

Calling this method generates a call to OnReceiveNGetRequest on the SCP. The SCP should respond by calling SendNGetResponse which will generate a call to OnReceiveNGetResponse.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly