Laptop direktive hinzugefügt.

Unnötige Axen beschriftung entfernt
This commit is contained in:
2019-03-10 16:44:26 +01:00
parent aa939d0149
commit 27c09ce6be
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()