CBUUID.FromBytes(Byte[]) 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 new CBUIID from the specified array of bytes.
public static CoreBluetooth.CBUUID FromBytes (byte[] bytes);
static member FromBytes : byte[] -> CoreBluetooth.CBUUID
Parameters
- bytes
- Byte[]
Array of 2, 4 or 16 bytes containing the universal unique identifier.
Returns
New instance; Throws an exception if the bytes array is null or is not 2, 4 or 16 bytes.
Remarks
Creates a CBUUID from the specified array of bytes.