I also found a dedicated class for it - the EthernetMonitor
Code: Select all
EthernetMonitor em = EthernetMonitor.GetSnapshot(connection, "ether3");
string linkspeed = em.Rate;
EthernetMonitor em = EthernetMonitor.GetSnapshot(connection, "ether3");
string linkspeed = em.Rate;
Actually this was not the root cause. The NTP client stopped working after a while.....I found the cause.
I upgraded the firmware of my switch and after that the NTP synchronizes nicely in my setup.