DeviceName Property  
 

Gets and sets the device name for the current dial-up networking connection.

Syntax

[form.]object.DeviceName [= devicename ]

Remarks

The DeviceName property returns a description of the device that the connection was established on. For example, the string "US Robotics Sportster 28000" 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 property array.

Data Type

String

See Also

DeviceCount Property, DeviceEntry Property, DeviceType Property