[LICENSE]
SandboxMode
=
True
function
CreateLicenseA(
const
email, oemkey, customerid:
PAnsiChar
;
units:
DWORD
; serial:
PAnsiChar
):
integer
;
stdcall
;
external
'Thinfinity.VirtualUI.OEM.dll';
function
RevokeLicenseA(
const
email, oemkey, serial:
PAnsiChar
):
integer
;
stdcall
;
external
'Thinfinity.VirtualUI.OEM.dll';
function
CreateLicenseW(
const
email, oemkey, customerid:
PWideChar
;
units:
DWORD
; serial:
PWideChar
):
integer
;
stdcall
;
external
'Thinfinity.VirtualUI.OEM.dll';
function
RevokeLicenseW(
const
email, oemkey, serial:
PWideChar
):
integer
;
stdcall
;
external
'Thinfinity.VirtualUI.OEM.dll';
[DllImport("Thinfinity.VirtualUI.OEM.dll",
CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode)]
private
static
extern
int
CreateLicenseW(
string
email,
string
oemkey,
string
customerid,
int
units, StringBuilder serial);
[DllImport("Thinfinity.VirtualUI.OEM.dll",
CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode)]
private
static
extern
int
RevokeLicenseW(
string
email,
string
oemkey,
string
serial);