This call is required to be called to enable the DLL to work if protection is active.

Returns the number of days (incl. this one) that this version is still active or 0 if no protection is embedded. In case no days are left and protection is active this call will return -1.


public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "GetProtection")]
public static extern Int64 GetProtection();