您的位置:首页 > 编程语言

在有源代码的情况下注释ComponentArt的许可证检查,彻底无风险使用ComponentArt

2007-04-26 22:02 405 查看
打开解决方案

LicensingRedistributeLicenseProvider.cs,

找到

if(strAppKey == strFoundAppKey)
return new ComponentArt.Licensing.Providers.RedistributableLicense(this, "The App");
else
return false;

改成

if(strAppKey == strFoundAppKey)
return new ComponentArt.Licensing.Providers.RedistributableLicense(this, "The App");
else
return new ComponentArt.Licensing.Providers.RedistributableLicense(this, "The App");

另外
BaseClasses/WebControl.cs
找到

protected override void Render(HtmlTextWriter output

)
将如下语句注释掉

if (!IsLicensed())
...{


RenderRedistributableWarning(output);


return;


}

重新编译就OK啦
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: