ServiceRecordCreateServiceRecordFromBytes Method
Create a
ServiceRecord by parsing
the given array of
Byte.
Namespace: InTheHand.Net.Bluetooth.SdpAssembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public static ServiceRecord CreateServiceRecordFromBytes(
byte[] recordBytes
)
Public Shared Function CreateServiceRecordFromBytes (
recordBytes As Byte()
) As ServiceRecord
public:
static ServiceRecord^ CreateServiceRecordFromBytes(
array<unsigned char>^ recordBytes
)
static member CreateServiceRecordFromBytes :
recordBytes : byte[] -> ServiceRecord
- recordBytes Byte
- A byte array containing the encoded Service Record.
ServiceRecordThe new
ServiceRecord parsed from the byte array.
This uses the ServiceRecordParser
with its default settings.
See Parse(Byte, Int32, Int32)
for more information. In particular for the errors that can result, two
of which are listed here.
Reference
Parse(Byte, Int32, Int32)