Method DiscoverFirstAsync
Namespace: Belay.Core
Assembly: Belay.Core.dll
DiscoverFirstAsync(CancellationToken)
Creates a device connection for the first discovered device.
csharp
public static Task<DeviceConnection?> DiscoverFirstAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Cancellation token.
Returns
A device connection for the first discovered device, or null if none found.