Table of Contents

Class NetworkInterface

Namespace
Java.Net
Assembly
MASES.Netdroid.dll
public class NetworkInterface : JVMBridgeBase<NetworkInterface>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<NetworkInterface>
NetworkInterface
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<NetworkInterface>.IsAssignableFrom(IJavaType)
JVMBridgeBase<NetworkInterface>.IsAssignableFrom<T>()
JVMBridgeBase<NetworkInterface>.Execute<T>(params T[])
JVMBridgeBase<NetworkInterface>.DynBridgeClazz
JVMBridgeBase<NetworkInterface>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

NetworkInterface()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public NetworkInterface()

NetworkInterface(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public NetworkInterface(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

GetByIndex(int)

public static NetworkInterface GetByIndex(int arg0)

Parameters

arg0 int

int

Returns

NetworkInterface

NetworkInterface

Exceptions

SocketException

GetByInetAddress(InetAddress)

public static NetworkInterface GetByInetAddress(InetAddress arg0)

Parameters

arg0 InetAddress

InetAddress

Returns

NetworkInterface

NetworkInterface

Exceptions

SocketException

GetByName(String)

public static NetworkInterface GetByName(String arg0)

Parameters

arg0 String

String

Returns

NetworkInterface

NetworkInterface

Exceptions

SocketException

GetDisplayName()

public String GetDisplayName()

Returns

String

String

GetHardwareAddress()

public byte[] GetHardwareAddress()

Returns

byte[]

byte

Exceptions

SocketException

GetIndex()

public int GetIndex()

Returns

int

int

GetInetAddresses()

public Enumeration<InetAddress> GetInetAddresses()

Returns

Enumeration<InetAddress>

Enumeration

GetInterfaceAddresses()

public List<InterfaceAddress> GetInterfaceAddresses()

Returns

List<InterfaceAddress>

List

GetMTU()

public int GetMTU()

Returns

int

int

Exceptions

SocketException

GetName()

public String GetName()

Returns

String

String

GetNetworkInterfaces()

public static Enumeration<NetworkInterface> GetNetworkInterfaces()

Returns

Enumeration<NetworkInterface>

Enumeration

Exceptions

SocketException

GetParent()

public NetworkInterface GetParent()

Returns

NetworkInterface

NetworkInterface

GetSubInterfaces()

public Enumeration<NetworkInterface> GetSubInterfaces()

Returns

Enumeration<NetworkInterface>

Enumeration

InetAddresses()

public Stream<InetAddress> InetAddresses()

Returns

Stream<InetAddress>

Stream

IsLoopback()

public bool IsLoopback()

Returns

bool

bool

Exceptions

SocketException

IsPointToPoint()

public bool IsPointToPoint()

Returns

bool

bool

Exceptions

SocketException

IsUp()

public bool IsUp()

Returns

bool

bool

Exceptions

SocketException

IsVirtual()

public bool IsVirtual()

Returns

bool

bool

NetworkInterfaces()

public static Stream<NetworkInterface> NetworkInterfaces()

Returns

Stream<NetworkInterface>

Stream

Exceptions

SocketException

SubInterfaces()

public Stream<NetworkInterface> SubInterfaces()

Returns

Stream<NetworkInterface>

Stream

SupportsMulticast()

public bool SupportsMulticast()

Returns

bool

bool

Exceptions

SocketException