Created
February 28, 2011 09:32
-
-
Save c1982/847133 to your computer and use it in GitHub Desktop.
Create Backup, Change Identity, Login Notice, Reboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Mikrotik.Api; | |
namespace Usage | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
//TODO : Create Mikrotik backup | |
var variable = new RouterOs("192.168.2.8", "admin", "password") | |
.Backup(); | |
//TODO: Change Mikrotik Identity, Set Login Notice Text and Reboot Mikrotik | |
variable.Identity("home-router") | |
.LoginNotice("Warning! Please do not change this Text") | |
.Reboot(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment