I am using the Beckhoff.TwinCAT.Ads
Version = 6.0235 NuGet package in c#, I want to query the configured Static Routes:
I have tried with TwinCAT.Ads.TcpRouter
and TwinCAT.Router
namespaces with no success:
Expected Result:
ICollection<RouteInfo>
or something similar
Thanks in advance for your help, any comment would be very appreciated.
Miguel
Just parse the C:\TwinCAT\3.1\Target\StaticRoutes.xml file. This is the location where the static routes entries you see in the editor are stored.