Class NetworkInterface
Information about a network interface
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DuetAPI.Machine
Assembly: DuetAPI.dll
Syntax
public sealed class NetworkInterface : ModelObject, ICloneable, INotifyPropertyChanging, INotifyPropertyChanged
Properties
ActiveProtocols
List of active protocols
Declaration
public ModelCollection<NetworkProtocol> ActiveProtocols { get; }
Property Value
Type | Description |
---|---|
ModelCollection<NetworkProtocol> |
ActualIP
Actual IPv4 address of the network adapter
Declaration
public string ActualIP { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConfiguredIP
Configured IPv4 address of the network adapter
Declaration
public string ConfiguredIP { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FirmwareVersion
Version of the network interface or null if unknown. This is primarily intended for the ESP8266-based network interfaces as used on the Duet WiFi
Declaration
public string FirmwareVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Gateway
Gateway of the network adapter
Declaration
public string Gateway { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Mac
Physical address of the network adapter
Declaration
public string Mac { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NumReconnects
Number of reconnect attempts or null if unknown
Declaration
public int? NumReconnects { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Signal
Signal of the WiFi adapter (only WiFi, in dBm, or null if unknown)
Declaration
public int? Signal { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Speed
Speed of the network interface (in MBit, null if unknown, 0 if not connected)
Declaration
public int? Speed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Subnet
Subnet of the network adapter
Declaration
public string Subnet { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Type of this network interface
Declaration
public InterfaceType Type { get; set; }
Property Value
Type | Description |
---|---|
InterfaceType |
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged