Skip to content

QuantumGate::Local::Environment::GetEthernetInterfaces

Karel Donk edited this page Dec 11, 2019 · 2 revisions

Gets details about the Ethernet interfaces on the system, including their IP- and MAC addresses.

Signature

Result<Vector<EthernetInterface>> GetEthernetInterfaces() const noexcept;

Return values

Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:

Value Description
QuantumGate::ResultCode::Succeeded The operation succeeded.
QuantumGate::ResultCode::Failed The operation failed.

Upon successful completion the result also contains a QuantumGate::Vector containing QuantumGate::Local::Environment::EthernetInterface objects with details about the Ethernet interfaces on the system.

Clone this wiki locally