DicomObjects Reference
DicomObjects Reference / DicomServer Object / AssociationRequest Event
The connection which has been requested
This parameter is passed by reference, and is initially true.  If set to false by the container, it causes the association to be rejected.
In This Topic
    AssociationRequest Event
    In This Topic
    Description
    fired when the server receives a DICOM association request
    Syntax
    Visual Basic
    Public Event AssociationRequest( _
       ByVal Connection As DicomConnection, _
       ByRef isOK As Boolean _
    )
    Parameters
    Connection
    The connection which has been requested
    isOK
    This parameter is passed by reference, and is initially true.  If set to false by the container, it causes the association to be rejected.
    Remarks

    This event has now been superseded by the more flexible AssociationRequest2 which should be used for new applications.
    This event is fired whenever an association request is received, giving the container the opportunity to accept or reject the association.  isOK is true by default, so if the event is not captured, all associations will be accepted.
    To choose which abstract and transfer syntaxes are accepted, the items in the Contexts collection should be checked and acted upon for production environments, and details are given in the tutorial guide – see Getting Started for more information.

    Trailing spaces are trimmed from Application Entity Titles.

    See Also