ServiceRecordHelperGetRfcommChannelElement Method
Reads the RFCOMM 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 GetRfcommChannelElement(
ServiceRecord record
)
Public Shared Function GetRfcommChannelElement (
record As ServiceRecord
) As ServiceElement
public:
static ServiceElement^ GetRfcommChannelElement(
ServiceRecord^ record
)
static member GetRfcommChannelElement :
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.