This commit is contained in:
Husky
2019-03-11 18:44:27 +01:00
5 changed files with 20 additions and 10 deletions

View File

@@ -80,11 +80,14 @@ namespace SanSystem
public bool CheckDongleVorhanden()
{
#if LAPTOP
return true;
#else
if (hcmse == null)
return false;
else
return true;
#endif
}
public string GetDongleSerial()
@@ -113,7 +116,9 @@ namespace SanSystem
public bool IsLicensed(byte neededMask)
{
#if LAPTOP
return true;
#else
uint DongleFeature = GetFeatureMap();
//Trace.WriteLine("DongleFeature: " + DongleFeature);
@@ -123,6 +128,7 @@ namespace SanSystem
if ((DongleFeatureB & neededMask) == neededMask)
return true;
return false;
#endif
}
public void Dispose()