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

In This Topic
    LocalPort Property
    In This Topic
    Provide information about which local port the remote application entity called
    Syntax
    'Declaration
     
    
    Public ReadOnly Property LocalPort As System.Long
    public System.long LocalPort {get;}
    Remarks
    This property relates to open incoming associations only, and can be accessed at any time after the association has been made. For "outgoing" DicomAssociation objects, they are null and 0. For "incoming" DicomAssociation objects such as those created automatically as part of incoming C-STORE (Async), C-FIND of C-GET requests, they relate to the association received. For C-MOVE, they continue to refer to the incoming association even once an outgoing association to carry the images has been established.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also