Please activate your cookies in your browser to use the complete functionality of our website.

Implementation into the Source Code

  • Protection with API implemented directly into the source code of your application for maximum flexibility.

  • Protect and license your software by using your individual implementation strategy.

  • Any number of applications with individual licensing options can be protected simultaneously with one CRYPTO-BOX.

  • Define the necessary partitions and data objects for implementation with API into the source code.

  • The Data Objects Manager facilitates the management of smart data objects in the CRYPTO-BOX memory partitions.

  • Data Objects can include expiration dates, usage limits, network licenses, customer-specific memory, etc.

  • Each application may have its own customized storage area (partition) in the CRYPTO-BOX memory.

  • Smarx®OS supports all major compilers and platforms such as Visual Studio (including .NET), Delphi, Java, etc.

Related Documents:

Smarx OS Compendium 2019 Smarx OS Compendium 2019

Manual for the CRYPTO-BOX System

Smarx OS CBIOS API Reference Smarx OS CBIOS API Reference

Basic API to access to the CRYPTO-BOX

DO API Reference DO API Reference

Smarx OS DataObjects API for C/C++ and Delphi

RFP API Reference RFP API Reference

Extended API for updating the CRYPTO-BOX

All Documents

This might also interest you:


Security with smartcard technology


The short answer to software security needs


USB software protection with network support

Professional Protection Kit Professional Protection Kit

CRYPTO-BOX developer kit

All Products All Solutions

More information about Smarx OS API


Implementing the API into the source code is aimed at professional software developers who require maximum security and flexibility for their protection strategy. For example, this is how you can deliver a limited demo version without a dongle, that automatically becomes the full version when attaching a valid  CRYPTO-BOX. Activate specific parts of the program - using the Remote Update Management System (RUMS) - after the customer has paid and/or requested additional features.

With the powerful Smarx®OS system individual integration into the source code is possible under Windows, Linux and macOS. With our Smarx OS APIs you can fully exhaust the encryption features and access various hierarchies of the CRYPTO-BOX, including access to the internal flash memory and usage of pre-defined DataObjects, plus updating them directly at the end-users side. The intelligent memory management system of the Smarx interface enables multiple applications to simultaneously access the internal memory of the USB dongle. Each application has its own partition, accidental overwriting of data by another application is impossible. The Smarx interface supports both the local as well as network integration. Having the same function calls for Windows, Linux and macOS reduces the porting complexity of changing platforms. A wide range of compilers and development environments like Visual Studio. NET, Delphi and Java are supported.

Available APIs for Developers:

  • Smarx API - API Abstraction Layer
    The Smarx API exposes a simple and user friendly programming interface to developers. In contrast other interfaces (SmarxCpp/Basic APIs for C++/Delphi or CBIOS4NET/Smarx4NET for C#, see below), this significantly reduces implementation efforts as well as chances of bugs and logical errors during implementation. At the same time, it provides developer with more flexibility on protection and licensing logic compared to AutoCrypt.

  • AC API - API Abstraction Layer
    The recently introduced AC API is focused on the easiest possible implementation allowing developers with just one function call to start periodic validation of license data in the CRYPTO-BOX (e.g. Expiration Date or Execution Counter) for both local and network scenarios, plus adding an exit event notification (AppExitEvent) with exception argument. Therefore it is a good alternative when AutoCrypt is not applicable.
    AC API supports C++ and C# (Visual Studio 2013 or higher).

  • CBIOS4NET/Smarx4NET and SmarxCpp - Object Oriented APIs
    For C++/C#/VB.NET developers, the following object oriented APIs are offered (Smarx4NET/CBIOS4NET for C# and VB, and SmarxCpp for C++):
    • Smarx4NET/CBIOS4NET - special Smarx OS API implementation for the .NET platform (C# and VB).
    • SmarxCpp - object oriented Smarx OS API implementation for C++ developers. It is implemented as static library (MSVS2013 and higher) and dynamic library.

    This is the core API set for the CRYPTO-BOX. You might consider it if either your IDE is not supported by one of the above APIs, or when you need full control/maximum flexibility:
    • CBIOS API - Commands used to access the CRYPTO-BOX (local or network), to the internal memory and the encryption functions (hardware-based AES or RSA* encryption). 
    • CBIOS DO API - Managing data objects in the memory of the CRYPTO-BOX, such as expiration date, network licenses, or customer specific objects. These data objects can be updated remotely (RUMS in SmarxOS Application Framework, or the RFP API) at a later time.
    • CBIOS RFP API - Updating DataObjects directly to the end-users site.



Supported Environments



  • Microsoft Visual Studio 2005 or higher (.NET 2.0 and higher, incl. Support for Windows Store Apps)


  • Microsoft Visual C++ 6.0, Visual Studio 2003
  • Microsoft Visual Studio 2005-2017
  • Borland Builder 5 - RAD XE8
  • MinGW
  • Qt4


  • Delphi 6 - 10.3


  • JDK 1.6


  • Microsoft Visual Basic 6.0, Visual Studio 2003
  • Microsoft Visual Studio 2005-2017


  • Microsoft Access
  • Microsoft Excel


  • LabVIEW
  • Microsoft Visual FoxPro 9.0
  • Micro Focus Visual COBOL 2010 R3
  • Intel Visual Fortran XE 2011
  • Digital Mars D
  • F#
  • MATLAB 2009
  • REALbasic 2006
  • DarkBASIC
  • Scala



  • GCC (32/64bit)
  • Qt 4


  • JDK 1.6 (32/64bit)


  • Kylix


  • REALbasic 2006


  • GNAT Programming Studio



  • GCC (32/64bit)
  • Qt 4


  • JDK 1.6 (32/64bit)


  • REALbasic 2006


  • LabVIEW

Mobile Devices


  • Xcode


  • Eclipse

Windows Phone

  • Microsoft Visual Studio 2013-2017

Copyright © 2002, 2019 MARX® CryptoTech LP - Last Update 9 July 2019