ServiceRecordHelperGetL2CapChannelElement Method
Reads the L2CAP Channel Number element from the service record.
Namespace: InTheHand.Net.Bluetooth.SdpAssembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public static ServiceElement GetL2CapChannelElement(
ServiceRecord record
)
Public Shared Function GetL2CapChannelElement (
record As ServiceRecord
) As ServiceElement
public:
static ServiceElement^ GetL2CapChannelElement(
ServiceRecord^ record
)
static member GetL2CapChannelElement :
record : ServiceRecord -> ServiceElement
- record ServiceRecord
- The ServiceRecord
to search for the element.
ServiceElementThe
ServiceElement
holding the Channel Number.
or
if at the
ProtocolDescriptorList
attribute is missing or contains invalid elements.