Android.Net.Wifi.WifiManager.SetTdlsEnabledWithMacAddress Method
Similar to WifiManager.SetTdlsEnabled(Java.Net.InetAddress, System.Boolean), except this version allows you to specify remote endpoint with a MAC address.

Syntax

[Android.Runtime.Register("setTdlsEnabledWithMacAddress", "(Ljava/lang/String;Z)V", "GetSetTdlsEnabledWithMacAddress_Ljava_lang_String_ZHandler")]
public virtual void SetTdlsEnabledWithMacAddress (string remoteMacAddress, bool enable)

Parameters

remoteMacAddress
MAC address of the remote endpoint such as 00:00:0c:9f:f2:ab
enable
true = setup and false = tear down TDLS

Remarks

Similar to WifiManager.SetTdlsEnabled(Java.Net.InetAddress, System.Boolean), except this version allows you to specify remote endpoint with a MAC address.

[Android Documentation]

Requirements

Namespace: Android.Net.Wifi
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1