DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / Open Method / Open(String,Int32,String,String,String) Method

Network address (as dotted notation or resolvable name) to which the association is to be made

Port on which remote application is listening

Name to quote for this Application Entity

Name of remote Application Entity

Optional Local IP Address to use for binding the outbound Socket






In This Topic
    Open(String,Int32,String,String,String) Method
    In This Topic
    Open and negotiate a new DICOM Association
    Syntax
    'Declaration
     
    
    Public Overloads Sub Open( _
       ByVal Node As System.String, _
       ByVal Port As System.Integer, _
       ByVal CallingAE As System.String, _
       ByVal CalledAE As System.String, _
       Optional ByVal LocalIP As System.String _
    ) 
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim Node As System.String
    Dim Port As System.Integer
    Dim CallingAE As System.String
    Dim CalledAE As System.String
    Dim LocalIP As System.String
     
    instance.Open(Node, Port, CallingAE, CalledAE, LocalIP)
    public void Open( 
       System.string Node,
       System.int Port,
       System.string CallingAE,
       System.string CalledAE,
       System.string LocalIP
    )
    public procedure Open( 
        Node: System.String;
        Port: System.Integer;
        CallingAE: System.String;
        CalledAE: System.String;
        LocalIP: System.String
    ); 
    public function Open( 
       Node : System.String,
       Port : System.int,
       CallingAE : System.String,
       CalledAE : System.String,
       LocalIP : System.String
    );
    public: void Open( 
       System.string* Node,
       System.int Port,
       System.string* CallingAE,
       System.string* CalledAE,
       System.string* LocalIP
    ) 
    public:
    void Open( 
       System.String^ Node,
       System.int Port,
       System.String^ CallingAE,
       System.String^ CalledAE,
       System.String^ LocalIP
    ) 

    Parameters

    Node

    Network address (as dotted notation or resolvable name) to which the association is to be made

    Port

    Port on which remote application is listening

    CallingAE

    Name to quote for this Application Entity

    CalledAE

    Name of remote Application Entity

    LocalIP
    Optional Local IP Address to use for binding the outbound Socket
    Remarks

    This method returns, after the connection has been established. If there is a protocol failure, then a trappable DicomException is thrown.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also