Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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()
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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