I would like to use ArcObjects to call network service and do some routes.
I use to use INAServer2 https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#INAServer2.htm but it say that it is deprecated (long time ago).
It say in the docs "Use the SOAP or REST API instead"
I could not find an example - does anybody have a sample code?
Interested point - the JAVA doc does not say this interface is deprecated http://help.arcgis.com/EN/SDK/10.0/JAVA_AO_ADF/api/arcobjects/com/esri/arcgis/networkanalyst/INAServer2.html