WifiConfiguration.RandomizedMacAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns MAC address set to be the local randomized MAC address.
public virtual Android.Net.MacAddress RandomizedMacAddress { [Android.Runtime.Register("getRandomizedMacAddress", "()Landroid/net/MacAddress;", "GetGetRandomizedMacAddressHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getRandomizedMacAddress", "()Landroid/net/MacAddress;", "GetGetRandomizedMacAddressHandler", ApiSince=29)>]
member this.RandomizedMacAddress : Android.Net.MacAddress
Property Value
- Attributes
Remarks
Returns MAC address set to be the local randomized MAC address. Depending on user preference, the device may or may not use the returned MAC address for connections to this network.
Information is restricted to Device Owner, Profile Owner, and Carrier apps (which will only obtain addresses for configurations which they create). Other callers will receive a default "02:00:00:00:00:00" MAC address.
Java documentation for android.net.wifi.WifiConfiguration.getRandomizedMacAddress()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.