How to know which WiFi adapter will be used with a "WiFiDirectAdvertisementPublisher" when multiple WiFi adapters are available

AW-8090 0 Reputation points
2024-03-22T11:19:48.97+00:00

I am using the WiFiDirectAdvertisementPublisher to provide a hotspot functionality that prevents internet access, if 2 WiFi adapters are connected how can I tell/define which one will/should be used?

This is the API I am referring to;

https://learn.microsoft.com/en-us/uwp/api/windows.devices.wifidirect.wifidirectadvertisementpublisher

Universal Windows Platform (UWP)
{count} votes