Class NetworkInterface
public class NetworkInterface : JVMBridgeBase<NetworkInterface>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<NetworkInterface>NetworkInterface
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<NetworkInterface>.IsAssignableFrom(IJavaType)JVMBridgeBase<NetworkInterface>.IsAssignableFrom<T>()JVMBridgeBase<NetworkInterface>.Execute<T>(params T[])JVMBridgeBase<NetworkInterface>.DynBridgeClazzJVMBridgeBase<NetworkInterface>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DisplayName
public String DisplayName { get; }
Property Value
HardwareAddress
public byte[] HardwareAddress { get; }
Property Value
- byte[]
Index
public int Index { get; }
Property Value
InterfaceAddresses
public List<InterfaceAddress> InterfaceAddresses { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MTU
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/NetworkInterface.html#getMTU()
public int MTU { get; }
Property Value
Name
public String Name { get; }
Property Value
Parent
public NetworkInterface Parent { get; }
Property Value
Methods
GetByIndex(int)
public static NetworkInterface GetByIndex(int arg0)
Parameters
Returns
Exceptions
GetByInetAddress(InetAddress)
public static NetworkInterface GetByInetAddress(InetAddress arg0)
Parameters
arg0
InetAddress
Returns
Exceptions
GetByName(String)
public static NetworkInterface GetByName(String arg0)
Parameters
Returns
Exceptions
GetInetAddresses()
public Enumeration<InetAddress> GetInetAddresses()
Returns
GetNetworkInterfaces()
public static Enumeration<NetworkInterface> GetNetworkInterfaces()
Returns
Exceptions
GetSubInterfaces()
public Enumeration<NetworkInterface> GetSubInterfaces()
Returns
InetAddresses()
public Stream<InetAddress> InetAddresses()
Returns
IsLoopback()
public bool IsLoopback()
Returns
Exceptions
IsPointToPoint()
public bool IsPointToPoint()
Returns
Exceptions
IsUp()
public bool IsUp()
Returns
Exceptions
IsVirtual()
public bool IsVirtual()
Returns
NetworkInterfaces()
public static Stream<NetworkInterface> NetworkInterfaces()
Returns
Exceptions
SubInterfaces()
public Stream<NetworkInterface> SubInterfaces()
Returns
SupportsMulticast()
public bool SupportsMulticast()