CBUUID.FromPartial(UInt16) 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 CBUUID for a commonly used CoreBluetooth service.
public static CoreBluetooth.CBUUID FromPartial (ushort servicePart);
static member FromPartial : uint16 -> CoreBluetooth.CBUUID
Parameters
- servicePart
- UInt16
16-bit service part.
Returns
Remarks
While CBUUID objects are 128-bit long, many common services are created just by specifying using 16 bits.
For example, if the service part is (ushort)1234, then the CBUUID becomes: (CBUUID)00001234-0000-1000-8000-00805f9b34fb.