Gets the handle for a dial-up networking session.
The Connection array can be used to enumerate the active dial-up networking sessions on the local system. The index is zero-based, and the number of connections is returned by the Connections property. The property returns an integer value which represents the handle to the session. Setting the Handle property to this value will cause the control to inherit the session and the control's properties will be updated with information about the connection.
Specifying an index greater than the number of available connections will generate an exception.
InternetDialer Class | SocketTools Namespace