public SFLockDog() { _lockDog = (__LockDog *)Memory.Alloc(sizeof(__LockDog)); Constructor(_lockDog); }
public void Dispose() { Destructor(_lockDog); Memory.Free(_lockDog); _lockDog = null; }
private static extern int HandleActiveCode(__LockDog *ths, int serialNumber, string pass);
private static extern int CheckPassword(__LockDog *ths, string pass);
private static extern int MakeSerialNumber(__LockDog *ths);
private static extern int CheckPeriod(__LockDog *ths);
private static extern int CheckDog(__LockDog *ths);
private static extern int Init(__LockDog *ths);
private static extern void Destructor(__LockDog *ths);