DicomObjects.NetStandard 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 Boolean
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As Boolean
     
    value = instance.IsOpen
    public bool IsOpen {get;}
    public:
    property bool IsOpen {
       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: 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