MacAddress.Matches(MacAddress, MacAddress) Method
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.
Checks if this MAC Address matches the provided range.
[Android.Runtime.Register("matches", "(Landroid/net/MacAddress;Landroid/net/MacAddress;)Z", "", ApiSince=30)]
public bool Matches (Android.Net.MacAddress baseAddress, Android.Net.MacAddress mask);
[<Android.Runtime.Register("matches", "(Landroid/net/MacAddress;Landroid/net/MacAddress;)Z", "", ApiSince=30)>]
member this.Matches : Android.Net.MacAddress * Android.Net.MacAddress -> bool
Parameters
- baseAddress
- MacAddress
MacAddress representing the base address to compare with.
- mask
- MacAddress
MacAddress representing the mask to use during comparison.
Returns
true if this MAC Address matches the given range.
- Attributes
Remarks
Checks if this MAC Address matches the provided range.
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.