OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

NetworkConfigurationOutcome

public enum NetworkConfigurationOutcome

What a network write did: to the camera, and to this connection.

Four things can happen and they need four different responses. Refusal is not among them; that is a ThermalDeviceException, because nothing was written.

This changed at API version 8. Until then there were two values, and Applied meant three things at once: nothing was written, the camera moved and the SDK followed it, and the settings were written over USB and are not in effect yet. Both old names are gone rather than narrowed, so a switch over them fails to build instead of falling quietly to a default.

Which one you get is decided by which fields changed, and the division is not the one most callers assume:

The one case not predictable from the fields is an in-place reconnect that fails: that reports NetworkConfigurationOutcome.AppliedConnectionLost even though the change was recoverable in principle.

Value
AppliedConnectionKept 0 Written, and this connection was carried across the change, including when the change moved the camera to a different address, which the SDK followed in place.
AppliedConnectionLost 1 Written, and this connection is finished with.
Unchanged 2 Nothing was written. The configuration passed already matched the camera's, so the write was skipped entirely.
AppliedPendingEthernet 3 Written to a camera reached over USB, and not in effect.