Skip to content

Commit

Permalink
fix: fixed allowedDeactivation and totalDeactivation getter
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-kemsan committed Sep 30, 2024
1 parent b26510c commit eea93af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cryptlex.LexActivator/LexActivator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ public static long GetLicenseAllowedDeactivations()
int status;
if (LexActivatorNative.IsWindows())
{
status = IntPtr.Size == 4 ? LexActivatorNative.GetLicenseAllowedDeactivations_x86(ref allowedDeactivations) : LexActivatorNative.GetLicenseAllowedActivations(ref allowedDeactivations);
status = IntPtr.Size == 4 ? LexActivatorNative.GetLicenseAllowedDeactivations_x86(ref allowedDeactivations) : LexActivatorNative.GetLicenseAllowedDeactivations(ref allowedDeactivations);
}
else
{
Expand All @@ -869,7 +869,7 @@ public static uint GetLicenseTotalDeactivations()
int status;
if (LexActivatorNative.IsWindows())
{
status = IntPtr.Size == 4 ? LexActivatorNative.GetLicenseTotalDeactivations_x86(ref totalDeactivations) : LexActivatorNative.GetLicenseTotalActivations(ref totalDeactivations);
status = IntPtr.Size == 4 ? LexActivatorNative.GetLicenseTotalDeactivations_x86(ref totalDeactivations) : LexActivatorNative.GetLicenseTotalDeactivations(ref totalDeactivations);
}
else
{
Expand Down

0 comments on commit eea93af

Please sign in to comment.