ServiceRecordHelperGetRfcommChannelElement Method

Reads the RFCOMM Channel Number element from the service record.

Definition

Namespace: InTheHand.Net.Bluetooth.Sdp
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public static ServiceElement GetRfcommChannelElement(
	ServiceRecord record
)

Parameters

record  ServiceRecord
The ServiceRecord to search for the element.

Return Value

ServiceElement
The ServiceElement holding the Channel Number. or if at the ProtocolDescriptorList attribute is missing or contains invalid elements.

See Also