DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / IsOpen Property






In This Topic
    IsOpen Property
    In This Topic
    Indicates whether a DicomAssociation is open
    Syntax
    'Declaration
     
    
    Public ReadOnly Property IsOpen As System.Boolean
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As System.Boolean
     
    value = instance.IsOpen
    public System.bool IsOpen {get;}
    public read-only property IsOpen: System.Boolean; 
    public function get IsOpen : System.boolean
    public: __property System.bool get_IsOpen();
    public:
    property System.bool IsOpen {
       System.bool get();
    }
    Remarks
    Returns true if a DicomAssociation is open, otherwise returns false. For outgoing connection, this property is true after the connection is 'opened' by Open method and before the connection is 'closed' by Close method. For incoming connection, if it is a C-GET request, the DicomAssociation object is passed as a property of the EventArguments.QueryReceivedArgs and the value is true. If it is a C-MOVE request, the value is false as the passed secondary connection has to be opened by the SCP to send requested images.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also