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

ObexPduFactory.Mtu Property

[This is preliminary documentation and subject to change.]

Get or set the local Maximum Transmission Unit, that is our maximum send size.

[Visual Basic]
Public Property Mtu As Integer
[C#]
public int Mtu {get; set;}

Remarks

This can be used to restrict the maximum sized PDU we will send, for instance as OBEX13.pdf section 3.3.1.3 states: “…packet sizes should be intelligently limited on slower links to reduce abort request latency.”

See MinimumMru and MaximumMru for size restrictions The value can be reset by calling ClearMtu

Exceptions

Exception TypeCondition
ArgumentException value is not in the valid range.

See Also

ObexPduFactory Class | Brecham.Obex.Pdus Namespace