Table of Contents

Class NetworkInterface

Namespace
Java.Net
Assembly
MASES.JNet.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

DisplayName

public String DisplayName { get; }

Property Value

String

HardwareAddress

public byte[] HardwareAddress { get; }

Property Value

byte[]

Index

public int Index { get; }

Property Value

int

InterfaceAddresses

public List<InterfaceAddress> InterfaceAddresses { get; }

Property Value

List<InterfaceAddress>

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

MTU

public int MTU { get; }

Property Value

int

Name

public String Name { get; }

Property Value

String

Parent

public NetworkInterface Parent { get; }

Property Value

NetworkInterface

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

GetInetAddresses()

public Enumeration<InetAddress> GetInetAddresses()

Returns

Enumeration<InetAddress>

Enumeration

GetNetworkInterfaces()

public static Enumeration<NetworkInterface> GetNetworkInterfaces()

Returns

Enumeration<NetworkInterface>

Enumeration

Exceptions

SocketException

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