MacAddress.ToByteArray 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.
Convert this MacAddress to a byte array.
[Android.Runtime.Register("toByteArray", "()[B", "", ApiSince=28)]
public byte[] ToByteArray ();
[<Android.Runtime.Register("toByteArray", "()[B", "", ApiSince=28)>]
member this.ToByteArray : unit -> byte[]
Returns
a byte array representation of this MacAddress.
- Attributes
Remarks
Convert this MacAddress to a byte array.
The returned array is in network order. For example, if this MacAddress is 01:02:03:04:05:06, the returned array is [1, 2, 3, 4, 5, 6].
Java documentation for android.net.MacAddress.toByteArray()
.
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.