RSSDP icon indicating copy to clipboard operation
RSSDP copied to clipboard

Method when `SearchAsync` is ended with no response?

Open Bizarrus opened this issue 2 years ago • 0 comments

DeviceAvailable calls only when devices found when using SearchAsync.

Serves RSSDP here a method, when the search is ended with no results, for sample:

 deviceLocator.DeviceAvailable       += OnDeviceResponse;
deviceLocator?.SearchAsync(delegate() {
// When search has ended & no results found
});

// [...]
private async static void OnDeviceResponse(object? sender, DeviceAvailableEventArgs e) {
// Devices Found
}

Bizarrus avatar Oct 15 '23 01:10 Bizarrus