SocketTools .NET Edition

InternetDialer.IsConnected Property

Gets a value which indicates if a connection has been established.

[Visual Basic]
Public ReadOnly Property IsConnected As Boolean
[C#]
public bool IsConnected {get;}

Property Value

A boolean value which specifies if a connection has been established with a service provider.

Remarks

The IsConnected property is used to determine if the class has connected to the remote host. A value of true indicates that a connection has been established.

Note that the IsConnected property should not be used to determine if an active dial-up networking connection has been established by another application. The property will only return true if the class has been used to establish the connection itself, or if a connection is inherited by setting either the AutoConnect or Handle properties. To determine if there are any active dial-up networking connections, check the value of the Connections property.

See Also

InternetDialer Class | SocketTools Namespace