Skip to content

Class DeviceDiscovery ​

Namespace: Belay.Core
Assembly: Belay.Core.dll

Simple device discovery that returns available serial ports. Replaces complex detection logic with basic port enumeration.

csharp
public static class DeviceDiscovery

Inheritance ​

object ← DeviceDiscovery

Inherited Members ​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods ​

DiscoverDevicesAsync(CancellationToken)

Discovers available serial ports that could be MicroPython devices.

DiscoverFirstAsync(CancellationToken)

Creates a device connection for the first discovered device.

Released under the Apache License 2.0.