在有源代码的情况下注释ComponentArt的许可证检查,彻底无风险使用ComponentArt
2007-04-26 22:02
591 查看
打开解决方案
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啦
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啦
相关文章推荐
- 在有源代码的情况下注释ComponentArt的许可证检查,彻底无风险使用ComponentArt
- Eclipse使用段注释格式化代码后混乱情况解决
- 干货|使用git中钩子文件做代码提交前的检查
- 代码质量检查工具Sonar结合hudson、maven使用
- 静态代码检查工具的使用(cppcheck)
- 使用cppcheck检查代码
- 改变Emacs下的注释代码方式以支持当前行(未选中情况下)的注释/反注释
- Android Sutdio自带的代码检查工具analyze的使用
- 使用VAssistX为VS2008 c++代码添加函数头注释 .
- Ubuntu中C代码静态检查工具Splint的安装配置和使用
- vim代码注释 NERDCommenter的安装及使用
- 使用gensim和sklearn搭建一个文本分类器(二):代码和注释
- 静态代码检查工具 cppcheck 的使用
- VC使用技巧:让你团队里所有人在编译工程时都要看你的代码注释
- DOxygen for C++使用说明——注释代码二
- swift:使用NSXMLParser解析本地xml文件(详细代码注释)
- 使用正则去除php代码中的注释方法
- Visual Studio中使用正则表达式进行代码规范的检查
- 使用ReSharper打造团队代码检查流程
- 如何检查 Android 应用的内存使用情况