Device Event
Fired for every dial device when the ListDevices method is called.
Syntax
[VB.NET] Public Event OnDevice As OnDeviceHandler
[C#] public event OnDeviceHandler OnDevice; public delegate void OnDeviceHandler(object sender, NetdialDeviceEventArgs e); class NetdialDeviceEventArgs : EventArgs { string DeviceName {get;} string DeviceType {get;} }
Remarks
DeviceName provides the name of the device, and DeviceType provides the corresponding device type (e.g. 'modem').