好友
阅读权限10
听众
最后登录1970-1-1
|
jnxx
发表于 2021-1-27 13:06
// Token: 0x0200068E RID: 1678
public class bassDemo
{
// Token: 0x06002B31 RID: 11057 RVA: 0x0004F064 File Offset: 0x0004D264
[MethodImpl(MethodImplOptions.NoOptimization)]
public bassDemo(DateTime msgDate, DateTime EndDate)
{
Class66.Hposf7VzlvwOh();
base..ctor();
appSetting.ReadSetting(ref Class57.appSetting_0);
string xmlPath = "DXP.dat";
object dxpdemoReg_ = DemoAndHardDisk.dxpdemoReg_0;
Type typeFromHandle = typeof(DemoAndHardDisk.DXPDemoReg);
string text = null;
XMLSerializ.smethod_1(xmlPath, ref dxpdemoReg_, typeFromHandle, ref text);
DemoAndHardDisk.dxpdemoReg_0 = (DemoAndHardDisk.DXPDemoReg)dxpdemoReg_;
if (DemoAndHardDisk.dxpdemoReg_0 == null)
{
DemoAndHardDisk.dxpdemoReg_0 = new DemoAndHardDisk.DXPDemoReg();
DemoAndHardDisk.dxpdemoReg_0.msgDate = msgDate;
DemoAndHardDisk.dxpdemoReg_0.endDate = EndDate;
}
DemoAndHardDisk.bool_1 = DemoAndHardDisk.HardWare.smethod_0();
if (DemoAndHardDisk.dxpdemoReg_0.method_0())
{
if (DateTime.Compare(DemoAndHardDisk.dxpdemoReg_0.msgDate, DateTime.MinValue) != 0)
{
msgDate = DemoAndHardDisk.dxpdemoReg_0.msgDate;
}
if (DateTime.Compare(DemoAndHardDisk.dxpdemoReg_0.endDate, DateTime.MinValue) != 0)
{
EndDate = DemoAndHardDisk.dxpdemoReg_0.endDate;
}
if (DateTime.Compare(DateAndTime.Today, Class57.appSetting_0.RunDate) < 0)
{
ProjectData.EndApp();
return;
}
Class57.appSetting_0.RunDate = DateAndTime.Today;
if (DateTime.Compare(DateAndTime.Today, EndDate) > 0)
{
appSetting.WriteSetting(Class57.appSetting_0);
DemoAndHardDisk.bool_0 = true;
Interaction.MsgBox(Operators.ConcatenateObject("软件试用已到期!软件编号:", DemoAndHardDisk.HardWare.smethod_3()), MsgBoxStyle.OkOnly, Class57.appSetting_0.myTitle);
ProjectData.EndApp();
return;
}
if (DateTime.Compare(DateAndTime.Today, msgDate) > 0)
{
appSetting.WriteSetting(Class57.appSetting_0);
Interaction.MsgBox(Operators.ConcatenateObject("软件试用将于【" + EndDate.ToLongDateString() + "】到期!软件编号:", DemoAndHardDisk.HardWare.smethod_3()), MsgBoxStyle.OkOnly, Class57.appSetting_0.myTitle);
}
}
}
}
是否修改这段代码:if (DateTime.Compare(DateAndTime.Today, EndDate) > 0),直接用dnspy编译出错。 |
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|