MacAddress.FromString(String) 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.
Creates a MacAddress from the given String representation.
[Android.Runtime.Register("fromString", "(Ljava/lang/String;)Landroid/net/MacAddress;", "", ApiSince=28)]
public static Android.Net.MacAddress FromString (string addr);
[<Android.Runtime.Register("fromString", "(Ljava/lang/String;)Landroid/net/MacAddress;", "", ApiSince=28)>]
static member FromString : string -> Android.Net.MacAddress
Parameters
- addr
- String
a String representation of a MAC address.
Returns
the MacAddress corresponding to the given String representation.
- Attributes
Remarks
Creates a MacAddress from the given String representation. A valid String representation for a MacAddress is a series of 6 values in the range [0,ff] printed in hexadecimal and joined by ':' characters.
Java documentation for android.net.MacAddress.fromString(java.lang.String)
.
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.