Definition of event delegate you should use if you want to receive the OnDeviceStateChanged event.
[Visual Basic]
Public Delegate Sub OnDeviceStateChanged( _
ByVal Sender As Object, _
Byval e As OnDeviceStateChangedArgs_
)
[C#]
public delegate void OnDeviceStateChanged(
object Sender,
OnDeviceStateChangedArgs e
);
Namespace: TAPIEx
Assembly: TAPIEx.Net.Dll