In The Hand
CreateServiceRecordFromBytes Method (recordBytes)
NamespacesInTheHand.Net.BluetoothServiceRecordCreateServiceRecordFromBytes(array<Byte>[]()[])
.NET Components for Mobility
Create a ServiceRecord by parsing the given array of Byte.
Declaration Syntax
C#Visual Basic
public static ServiceRecord CreateServiceRecordFromBytes(
	byte[] recordBytes
)
Public Shared Function CreateServiceRecordFromBytes ( _
	recordBytes As Byte() _
) As ServiceRecord
Parameters
recordBytes (array< Byte >[]()[])

[Missing <param name="recordBytes"/> documentation for "M:InTheHand.Net.Bluetooth.ServiceRecord.CreateServiceRecordFromBytes(System.Byte[])"]

Return Value

[Missing <returns> documentation for "M:InTheHand.Net.Bluetooth.ServiceRecord.CreateServiceRecordFromBytes(System.Byte[])"]

Remarks
This uses the ServiceRecordParser with its default settings. See Parse(array<Byte>[]()[], Int32, Int32) for more information. In particular for the errors that can result, two of which are listed here.
Exceptions
ExceptionCondition
ProtocolViolationException The record contains invalid content.
NotImplementedException The record contains an element type not supported by the parser.
See Also

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0