UserLock API
UserLock API documentation

Introduction

The UserLock API allows you to write your own .NET applications that will interact directly with the UserLock service. Basically the UserLock API allows you to programmatically create and configure protected accounts, deploy the agent, logoff/lock sessions, send popups to users.

Install the API

We advise you to keep these files in the folder of your executable in case UserLock gets upgraded. Thus, your executable will always have the correct version of these DLLs and you will not have to rebuild your application from source code when updating UserLock.

If the architecture used by your .NET application is 64-bit, make sure that you have installed the Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update (x64). If you need to install it, the download URL is https://www.microsoft.com/en-in/download/details.aspx?id=26999.

If the architecture used by your .NET application is 64-bit, you will need the 64-bit version of "NativeLibrary.dll". In this case, please contact us to obtain this file.

First steps

Examples