GetProtection

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.

Syntax

public const string EngineDLL = @"engine.dll";[DllImport(EngineDLL, EntryPoint = "GetProtection")]
public static extern Int64 GetProtection();