Gets and sets the device name for the current dial-up networking connection.
A string which specifies the device name.
The DeviceName property returns a description of the device that the connection was established on. For example, the string "US Robotics Sportster 56000" may be returned for a modem. Note that this property value may change if the DeviceType property is modified. Setting this property will change the device used to establish the dial-up networking connection. Changes to this property value should be made after changes to the DeviceType property.
To enumerate a list of available devices for a given device type, use the DeviceCount property and DeviceEntry array.
InternetDialer Class | SocketTools Namespace