DicomObjects.NET Core 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 Long
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As Long
     
    value = instance.LocalPort
    public long LocalPort {get;}
    public:
    property int64 LocalPort {
       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: 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