Device Event

Fired for every dial device when the ListDevices method is called.

Syntax

public event OnDeviceHandler OnDevice;

public delegate void OnDeviceHandler(object sender, NetdialDeviceEventArgs e);

public class NetdialDeviceEventArgs : EventArgs {
  public string DeviceName { get; }
  public string DeviceType { get; }
}
Public Event OnDevice As OnDeviceHandler

Public Delegate Sub OnDeviceHandler(sender As Object, e As NetdialDeviceEventArgs)

Public Class NetdialDeviceEventArgs Inherits EventArgs
  Public ReadOnly Property DeviceName As String
  Public ReadOnly Property DeviceType As String
End Class

Remarks

DeviceName provides the name of the device, and DeviceType provides the corresponding device type (e.g. 'modem').

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]