DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomImage Class / Send Method / Send(String,Int32,String,String) Method

Network address (as dotted notation or resolvable name) to which the image is to be sent

Port on which remote application is listening

Name of remote Application Entity

Name to quote for this Application Entity




In This Topic
    Send(String,Int32,String,String) Method
    In This Topic
    Sends an image to a remote Storage SCP
    Syntax
    'Declaration
     
    
    Public Overloads Function Send( _
       ByVal Node As String, _
       ByVal Port As Integer, _
       ByVal CallingAE As String, _
       ByVal CalledAE As String _
    ) As Integer
    'Usage
     
    
    Dim instance As DicomImage
    Dim Node As String
    Dim Port As Integer
    Dim CallingAE As String
    Dim CalledAE As String
    Dim value As Integer
     
    value = instance.Send(Node, Port, CallingAE, CalledAE)

    Parameters

    Node

    Network address (as dotted notation or resolvable name) to which the image is to be sent

    Port

    Port on which remote application is listening

    CallingAE

    Name of remote Application Entity

    CalledAE

    Name to quote for this Application Entity

    Return Value

    The status as returned by the remote application. Zero indicates success.

    Remarks
    This method negotiates an association, sends one image over it, and then closes it. DICOM does not allow SCPs to draw any conclusions about the relationships between images based on the opening and closing of associations, so this should never be a problem (apart from slight network inefficiency). However, there are several badly written applications in the world, which incorrectly assume that the end of an association indicates the end of a series or a study etc., and if interfacing to such a faulty implementation, it is possible to send multiple images on one association by using a DicomAssociation object, and its SendInstances methods.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also