03-01-2026, 09:25 PM
لدي برنامج الماني يعمل بالدونجل تم قك الضغط للملفين المسولين عن الترخيص تخطي الدونجل ولاكن البرنامج لا يعمل كامل حيث يحتاج unlock لبعض الخصايص
AI ما يغطي حل
محتاح تغديل بدون ما يعمل exceptions
AI ما يغطي حل
محتاح تغديل بدون ما يعمل exceptions
// Token: 0x06000186 RID: 390 RVA: 0x000049C4 File Offset: 0x00002BC4
public License()
{
this.idongle_0;
this.list_0 = new List<Language>();
this.list_1 = new List<Tools>();
this.list_2 = new List<CentralTypes>();
this.list_3 = new List<Functions>();
this.list_4 = new List<LicencedHardware>();
this.studioDongle_0 = new StudioDongle();
public License()
{
this.idongle_0;
this.list_0 = new List<Language>();
this.list_1 = new List<Tools>();
this.list_2 = new List<CentralTypes>();
this.list_3 = new List<Functions>();
this.list_4 = new List<LicencedHardware>();
this.studioDongle_0 = new StudioDongle();
this.OverrideDongleType(this.studioDongle_0);
======================================================================================
public bool IsApplicationLocked(out ManualTexts errorText, out string[] textArguments)
{
this.method_2();
if (this.idongle_0.CheckApplication(3) != DongleState.DongleValid)
{
errorText = 784;
textArguments = new string[0];
return true;
}
if (!this.method_3())
{
errorText = 1425;
string[] array = new string[2];
array[0] = AssemblyHelper.AssemblyVersionMajorMinorBugfixNumber;
string[] array2 = array;
int num = 1;
string newLine = Environment.NewLine;
IEnumerable<VersionRange> swVersions = this.idongle_0.SwVersions;
if (License.func_0 == null)
{
License.func_0 = new Func<VersionRange, uint>(License.smethod_1);
}
IEnumerable<VersionRange> source = swVersions.OrderBy(License.func_0);
if (License.func_1 == null)
{
License.func_1 = new Func<VersionRange, string>(License.smethod_2);
}
array2[num] = string.Join(newLine, source.Select(License.func_1));
textArguments = array;
return true;
}
if (this.idongle_0.IsLocked)
{
errorText = 782;
textArguments = new string[0];
return true;
}
if (this.DongleRegisteredSerialNumber != 0U && this.DongleRegisteredSerialNumber != this.idongle_0.SerialNumber)
{
errorText = 781;
textArguments = new string[]
{
string.Format(CultureInfo.InvariantCulture, "{0:X}", new object[]
{
this.uint_0
})
};
return true;
}
errorText = 0;
textArguments = new string[0];
return false;
public bool IsApplicationLocked(out ManualTexts errorText, out string[] textArguments)
{
this.method_2();
if (this.idongle_0.CheckApplication(3) != DongleState.DongleValid)
{
errorText = 784;
textArguments = new string[0];
return true;
}
if (!this.method_3())
{
errorText = 1425;
string[] array = new string[2];
array[0] = AssemblyHelper.AssemblyVersionMajorMinorBugfixNumber;
string[] array2 = array;
int num = 1;
string newLine = Environment.NewLine;
IEnumerable<VersionRange> swVersions = this.idongle_0.SwVersions;
if (License.func_0 == null)
{
License.func_0 = new Func<VersionRange, uint>(License.smethod_1);
}
IEnumerable<VersionRange> source = swVersions.OrderBy(License.func_0);
if (License.func_1 == null)
{
License.func_1 = new Func<VersionRange, string>(License.smethod_2);
}
array2[num] = string.Join(newLine, source.Select(License.func_1));
textArguments = array;
return true;
}
if (this.idongle_0.IsLocked)
{
errorText = 782;
textArguments = new string[0];
return true;
}
if (this.DongleRegisteredSerialNumber != 0U && this.DongleRegisteredSerialNumber != this.idongle_0.SerialNumber)
{
errorText = 781;
textArguments = new string[]
{
string.Format(CultureInfo.InvariantCulture, "{0:X}", new object[]
{
this.uint_0
})
};
return true;
}
errorText = 0;
textArguments = new string[0];
return false;

