Discuss this help topic in SecureBlackbox Forum


Declared in     

Filter: C#  VB.NET  Pascal  C++  PHP  

Use this function to pass license key to the library.


    void SetLicenseKey(byte[] Key);

    Sub SetLicenseKey(ByVal Key As Byte())

    procedure SetLicenseKey(const Key: string);

    void SetLicenseKey(const std::string & Key);

    void SetLicenseKey(string $Key)


  • Key - license key.


This function must be called before any library use. Note, that each DLL has it's own SetLicenseKey method which must be called independently.

To set two or more license keys (when you have different license keys for different packages of SecureBlackbox) at the same time, just call SetLicenseKey several times, passing a different license key in each call. License keys are added, not replaced.
Note, that as the keys are added, passing an evaluation license key together with production license key will force evaluation delays and nag screen, so be sure to remove the evaluation license key from the list of keys being set.

The evaluation key is located in <SecureBlackbox>\LicenseKey.der file and in all sample projects, shipped with SecureBlackbox.

Declared in

  • Namespace: SBUtils.Unit
  • Assembly: SecureBlackbox
  • Unit: SBUtils
  • Package: SecureBlackbox.Base.jar
  • sbutils.h

Discuss this help topic in SecureBlackbox Forum