SocketWrench .NET Edition

InternetDialer.DeviceType Property

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

[Visual Basic]
Public Property DeviceType As String
[C#]
public string DeviceType {get; set;}

Property Value

A string which specifies the device type.

Remarks

The DeviceType property returns the type of device that the connection was established with. Setting this property will change the type of device that will be used to establish the connection. Examples of valid device types are:

DeviceType Description
modem An internal or external serial analog modem device, or other serial communications device which supports the AT command set.
isdn An ISDN terminal adapter. Note that some ISDN devices, such as the 3Com ImpactIQ are considered modem devices.
vpn A virtual private network connection.

Because changing the device type can change the current device name, it is recommended that applications change this property value before changing the value of the DeviceName property.

See Also

InternetDialer Class | SocketTools Namespace