Class NetworkInterface
public class NetworkInterface : JVMBridgeBase<NetworkInterface>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
NetworkInterface
- Implements
- Extension Methods
Constructors
NetworkInterface(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NetworkInterface(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
GetByIndex(int)
public static NetworkInterface GetByIndex(int arg0)
Parameters
Returns
Exceptions
GetByInetAddress(InetAddress)
public static NetworkInterface GetByInetAddress(InetAddress arg0)
Parameters
arg0InetAddress
Returns
Exceptions
GetByName(String)
public static NetworkInterface GetByName(String arg0)
Parameters
Returns
Exceptions
GetDisplayName()
public String GetDisplayName()
Returns
GetHardwareAddress()
public byte[] GetHardwareAddress()
Returns
Exceptions
GetIndex()
public int GetIndex()
Returns
GetInetAddresses()
public Enumeration<InetAddress> GetInetAddresses()
Returns
GetInterfaceAddresses()
public List<InterfaceAddress> GetInterfaceAddresses()
Returns
GetMTU()
public int GetMTU()
Returns
Exceptions
GetName()
public String GetName()
Returns
GetNetworkInterfaces()
public static Enumeration<NetworkInterface> GetNetworkInterfaces()
Returns
Exceptions
GetParent()
public NetworkInterface GetParent()
Returns
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()