-
Notifications
You must be signed in to change notification settings - Fork 100
High level API tools
There are tools that can help with creating custom entities.
- tik4net.entitygenerator.exe - creates entity code by parsing loaded result from mikrotik
- tik4net.entityWikiImporter.exe - creates entity code by parsing mikrotik wiki html. (currently used)
Both tools are just helper - you have to finalize entity code yourself.
Main goal of this helper application is support for semi-automatic creating tik entities (C# source code generator) from your MikroTik router. Just prepare the entity on the router, start the application, fill in the entity path and generate the source.
NOTE: you could edit tik4net.entitygenerator.exe.config configuration and prepare your credential.
- Prepare entity on mikrotik router
- fill entity API path (with /print)
- Press Load and generate
Main goal of this helper application is support for semi-automatic creating tik entities (C# source code generator) from official mikrotik wiki. Just start application, fill wiki page url, parse it (you can manually fill html of property tables (table tag) into textboxes if parser does not work properly) and generate source.
- Find mikrotik wiki documentation page
- Put its url into textbox of wiki imported app
- Press Load and Resolve
- Optionaly fill manually Html with properties and Html with R/O properties with html of the mikrotik wiki (copy/paste table tag of property list.
- Optionaly fill List of unset properties by result of the mikrotik command (above)
- Press Generate code
NOTE: this application uses HtmlAgility pack (as nuGet package).
... comming soon ...