Brecham.Obex — An OBEX library for the .NET Framework

ObexParsedPdu.Code Property

Get the value of the code byte from the parsed PDU.

[Visual Basic]
Public ReadOnly Property Code As Byte
[C#]
public byte Code {get;}

Remarks

If a Response PDU was parsed, then an instance of ObexParsedResponsePdu is returned and its ResponseCode property should be used. Otherwise if a Request PDU was parsed, then an instance of ObexParsedRequestPdu is returned and its Opcode property should be used.

See Also

ObexParsedPdu Class | Brecham.Obex.Pdus Namespace