-
大小: 18.12MB文件類型: .zip金幣: 1下載: 0 次發布日期: 2023-06-19
- 語言: ASP
- 標簽: aspose.pdf??aspose.word??aspose.excal??aspose.slide??
資源簡介
Aspose.total 破解辦法, 2018-11-30日親測可用。該方法僅限測試、研究 , 如需使用請支持正版,
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.IO;
using?System.Reflection;
using?System.Runtime.CompilerServices;
using?System.Text;
using?System.xml;
namespace?LicenseHelper
{
????public?static?class?ModifyInMemory
????{
????????private?static?string?AsposeList?=?“Aspose.3D.dll?Aspose.BarCode.dll?Aspose.BarCode.Compact.dll?Aspose.BarCode.WPF.dll?Aspose.Cells.GridDesktop.dll?Aspose.Cells.GridWeb.dll?Aspose.CAD.dll?Aspose.Cells.dll?Aspose.Diagram.dll?Aspose.Email.dll?Aspose.Imaging.dll?Aspose.Note.dll?Aspose.OCR.dll?Aspose.Pdf.dll?Aspose.Slides.dll?Aspose.Tasks.dll?Aspose.Words.dll“;
????????public?static?void?ActivateMemoryPatching()
????????{
????????????Assembly[]?arr?=?AppDomain.CurrentDomain.GetAssemblies();
????????????foreach?(Assembly?assembly?in?arr)
????????????{
????????????????if?(AsposeList.IndexOf(assembly.FullName.Split(‘‘)[0]?+?“.dll“)?!=?-1)
????????????????????ActivateForAssembly(assembly);
????????????}
????????????AppDomain.CurrentDomain.AssemblyLoad?+=?new?AssemblyLoadEventHandler(Activateonload);
????????}
????????private?static?void?Activateonload(object?sender?AssemblyLoadEventArgs?e)
????????{
????????????if?(AsposeList.IndexOf(e.LoadedAssembly.FullName.Split(‘‘)[0]?+?“.dll“)?!=?-1)
????????????????ActivateForAssembly(e.LoadedAssembly);
????????}
????????private?static?void?ActivateForAssembly(Assembly?assembly)
????????{
????????????MethodInfo?miLicensed1?=?typeof(ModifyInMemory).GetMethod(“InvokeMe1“?BindingFlags.NonPublic?|?BindingFlags.Static);
????????????MethodInfo?miLicensed2?=?typeof(ModifyInMemory).GetMethod(“InvokeMe2“?BindingFlags.NonPublic?|?BindingFlags.Static);
????????????MethodInfo?miEvaluation?=?null;
????????????Dictionary?miDict?=?new?Dictionary()
????????????{
????????????????{“System.DateTime“???????miLicensed1}
????????????????{“System.xml.xmlElement“?miLicensed2}
????????????};
????????????Type[]?arrType?=?null;
????????????bool?isFound?=?false;
????????????int?nCount?=?0;
????????????try
????????????{
????????????????arrType?=?assembly.GetTypes();
????????????}
????????????catch?(ReflectionTypeLoadException?err)
????????????{
????????????????arrType?=?err.Types;
????????????}
????????????foreach?(Type?type?in?arrType)
????????????{
????????????????if?(isFound)?break;
????????????????if?(type?==?null)?continue;
????????????????MethodInfo[]?arrMInfo?=?type.GetMethods(BindingFlags.NonPublic?|?BindingFlags.Static);
????????????????foreach?(MethodInfo?info?in?arrMInfo)
????????????????{
????????????????????if?(isFound)?break;
????????????????????try
????????????????????{
????????????????????????string?strMethod?=?info.ToString();
????????????????????????if?((strMethod.IndexOf(“(System.xml.xmlElement?System.String)“)?>?0)?&&?(miDict.ContainsKey(info.ReturnType.ToString())))
????????????????????????{
????????????????????????????miEvaluation
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-11-30?10:32??Aspose.total?破解辦法僅限測試、研究\
?????目錄???????????0??2018-11-30?10:32??Aspose.total?破解辦法僅限測試、研究\12.0\
?????文件????41757392??2016-09-08?07:20??Aspose.total?破解辦法僅限測試、研究\12.0\Aspose.Pdf.dll
?????文件????????9388??2018-08-10?09:39??Aspose.total?破解辦法僅限測試、研究\ModifyInMemory.cs
?????文件?????????754??2018-08-09?11:56??Aspose.total?破解辦法僅限測試、研究\使用說明.txt
評論
共有 條評論