Dela via


NetworkInterface.MTU Property

Definition

Returns the Maximum Transmission Unit (MTU) of this interface.

public int MTU { [Android.Runtime.Register("getMTU", "()I", "")] get; }
[<get: Android.Runtime.Register("getMTU", "()I", "")>]
member this.MTU : int

Property Value

the value of the MTU for that interface.

Attributes

Exceptions

if an I/O error occurs.

Remarks

Returns the Maximum Transmission Unit (MTU) of this interface.

Added in 1.6.

Java documentation for java.net.NetworkInterface.getMTU().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to