Show / Hide Table of Contents

Interface IDeviceListener

Inherited Members
System.IDisposable.Dispose()
Namespace: Device.Net
Assembly: Device.Net.dll
Syntax
public interface IDeviceListener : IDisposable

Methods

CheckForDevicesAsync(CancellationToken)

Declaration
Task CheckForDevicesAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task

Start()

Declaration
void Start()

Stop()

Declaration
void Stop()

Events

DeviceDisconnected

Declaration
event EventHandler<DeviceEventArgs> DeviceDisconnected
Event Type
Type Description
System.EventHandler<DeviceEventArgs>

DeviceInitialized

Declaration
event EventHandler<DeviceEventArgs> DeviceInitialized
Event Type
Type Description
System.EventHandler<DeviceEventArgs>
In This Article
  • Methods
    • CheckForDevicesAsync(CancellationToken)
    • Start()
    • Stop()
  • Events
    • DeviceDisconnected
    • DeviceInitialized
Back to top Generated by DocFX