Compass 0.1.7
dotnet add package Compass --version 0.1.7
NuGet\Install-Package Compass -Version 0.1.7
<PackageReference Include="Compass" Version="0.1.7" />
paket add Compass --version 0.1.7
#r "nuget: Compass, 0.1.7"
// Install Compass as a Cake Addin #addin nuget:?package=Compass&version=0.1.7 // Install Compass as a Cake Tool #tool nuget:?package=Compass&version=0.1.7
Compass
Library to communicate with RouterOS REST API
Compass is a library which realize all cycle communication with RouterOS.
Target Framework
- .Net Core 7 SDK
- RouterOS 7
Features
- You can get any information from the IP section.
- There is a universal method available that performs request on an URL
Usage
First parameter is a device: ip , second: username, third: password, fourth: route
var result = Compass.GetRequestWithCustomParams("10.7.0.101","test", "Qwerty-1", "system/resource");
var result = Compass.GetIpAddresses("10.7.0.101", "test", "Qwerty-1");
or Where you can get information by interface id.
var result = Compass.GetIpAddressByInterfaceId("10.7.0.101", "test", "Qwerty-1", 1);
See the documentation: https://compass-lib-docs.readthedocs.io/en/latest/
SSL must be generated first. https://help.mikrotik.com/docs/display/ROS/Certificates
License
MIT Free Software.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Newtonsoft.Json (>= 13.0.3)
- System.Net.Http.Json (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Get information from IP section
For more information see the documentation:
https://compass-lib-docs.readthedocs.io/en/latest/