Share via


WiFiAvailableNetwork.IsWiFiDirect Property

Definition

Note

Some information relates to pre-released product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Important

This API will be affected by upcoming changes to operating system behavior, planned for fall 2024. For more info, see Changes to API behavior for Wi-Fi access and location.

Gets a value indicating whether this network originates from a Wi-Fi Direct access point.

public:
 property bool IsWiFiDirect { bool get(); };
bool IsWiFiDirect();
public bool IsWiFiDirect { get; }
var boolean = wiFiAvailableNetwork.isWiFiDirect;
Public ReadOnly Property IsWiFiDirect As Boolean

Property Value

Boolean

bool

When true, the network is originated by a Wi-Fi Direct access point. Otherwise, it is not.

Applies to