Ir para o conteúdo

Programmatically modifying SureLock Settings

nov 21, 2009 | 42Gears Team

One of the common requests we received from some of our customers was for a solution to make it possible for a third party application to programmatically change the SureLock Security password on the device.

We have implemented a generic solution to update SureLock settings on the device without having to reinstall the SureLock CAB files. Solution includes a new module, Supervisory Update (supupd.exe) which takes new SureLock settings (like security password) as command line parameters. For e.g. an application can change the password by launching supupd.exe with the following parameters:

Program FilesSureLocksupupd.exe /changepwd

Here is a sample code (.NET C#):

Process proc1 = new Process();
string oldPassword = “0123”;
string newPassword = “9876”;
proc1.StartInfo.FileName = “\Program Files\SureLock\supupd.exe”;
proc1.StartInfo.Arguments = “/changepwd ” + oldPassword + ” “+ newPassword ;
proc1 .Start();

In future we will add more options to let applications change other SureLock settings, like adding and removing “approved” applications.

Subscribe for our free newsletter

Thank you! you are successfully subscribed.
newsletter

Exclusive News and Updates on Enterprise Mobility!

* I consent to receive newsletters via email from 42Gears and its Affiliates.
Please agree
* I have reviewed and agreed to 42Gears Privacy Policy and Terms of Use prior to subscribing and understand that I may change my preference or unsubscribe at any time.
Please agree
Please verify captcha
Please enter a valid official email