public ServiceRecord Parse(
byte[] buffer,
int offset,
int length
)
Public Function Parse (
buffer As Byte(),
offset As Integer,
length As Integer
) As ServiceRecord
public:
ServiceRecord^ Parse(
array<unsigned char>^ buffer,
int offset,
int length
)
member Parse :
buffer : byte[] *
offset : int *
length : int -> ServiceRecord
If the record contains any element type not supported by the parser it will throw NotImplementedException. The only element types defined by SDP in v2.0 that are not currently implemented are 64- and 128-bit integers. Of course any types defined in a later version will also throw this. This behaviour can be changed with the SkipUnhandledElementTypes property.
ProtocolViolationException | The record contains invalid content. |
NotImplementedException | The record contains an element type not supported by the parser. |