Custom Wi-Fi Direct Devices

Wi-Fi Direct connects Windows directly to another endpoint over Wi-Fi in a peer-to-peer fashion. Windows already leverages Wi-Fi Direct for printing, for wireless displays via Miracast, and for the Play To feature via DLNA. With APIs in the Windows.Devices.WiFiDirect namespace, however, you can use Wi-Fi Direct for custom purposes.

Wireless devices must be paired with the current device. Fortunately, as with Bluetooth devices, Windows handles locating devices and pairing them so your app doesn’t need to worry about that step.

Working with Wi-Fi Direct is much easier than working with the previous protocols. For example, the only capability you need to declare is Proximity! No device capabilities are needed.

To connect ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.