Enum NetworkState
- Namespace
- DuetAPI.ObjectModel
- Assembly
- DuetAPI.dll
Enumeration of possible network interface states
[JsonConverter(typeof(JsonCamelCaseStringEnumConverter<NetworkState>))]
public enum NetworkState
Fields
Active = 8Network running
ChangingMode = 4Running and in the process of switching between modes (used by WiFi networking in standalone mode)
Connected = 7Just established a connection
Disabled = 0Network disabled
Enabled = 1Network enabled but not started yet
EstablishingLink = 5Starting up, waiting for link
Idle = 9WiFi adapter is idle
[JsonPropertyName("obtainingIP")] ObtainingIP = 6Link established, waiting for DHCP
Starting1 = 2Starting up (used by WiFi networking in standalone mode)
Starting2 = 3Starting up (used by WiFi networking in standalone mode)