Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsConnected Method
See Also 
Leadtools.Dicom Namespace > DicomNet Class : IsConnected Method



Determines whether a connection has been established.

Syntax

Visual Basic (Declaration) 
Public Function IsConnected() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DicomNet
Dim value As Boolean
 
value = instance.IsConnected()
C# 
public bool IsConnected()
C++/CLI 
public:
bool IsConnected(); 

Return Value

true if a connection has been established; otherwise, false.

Example

For an example, refer to SendAssociateRequest.

Remarks

A connection is created by an SCU calling Connect and the SCP responding by calling Accept. If this has occurred successfully, this method will return true. Otherwise, it will return false.

For more information on creating a connection, refer to Creating a DICOM Network Connection.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features