Hello,
Welcome to Microsoft Q&A!
how can I tell if a WiFi adapter supports this API or not?
Generally, devices support WiFi direct should be able to publish WiFi direct advertisement. But currently there is no such API that could directly tell if a device supports WiFi direct.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.