Java.Net.MulticastSocket.Interface Property
Returns an address of the outgoing network interface used by this socket.

Syntax

[get: Android.Runtime.Register("getInterface", "()Ljava/net/InetAddress;", "GetGetInterfaceHandler")]
[set: Android.Runtime.Register("setInterface", "(Ljava/net/InetAddress;)V", "GetSetInterface_Ljava_net_InetAddress_Handler")]
public virtual InetAddress Interface { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.SocketExceptionif an error occurs.
Java.Net.SocketExceptionif an error occurs.

Remarks

Get method documentation [Android Documentation]

Returns an address of the outgoing network interface used by this socket. To avoid inherent unpredictability, new code should use MulticastSocket.NetworkInterface instead.

Set method documentation [Android Documentation]

Sets the outgoing network interface used by this socket. The interface used is the first interface found to have the given address. To avoid inherent unpredictability, new code should use MulticastSocket.NetworkInterface instead.

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1