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
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As System.Long
     
    value = instance.LocalPort
    public System.long LocalPort {get;}
    public read-only property LocalPort: System.Int64; 
    public function get LocalPort : System.long
    public: __property System.long get_LocalPort();
    public:
    property System.int64 LocalPort {
       System.int64 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