UltraDebug

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: A C D R G Y M Z X S P
公益项目,接受捐赠
查看: 1697|回复: 0
收起左侧

[.Net逆向] 某系列文档转换库 注册码逆向分析

[复制链接]
Sorrowful

主题

0

回帖

UD

新手上路

UID
22
积分
23
注册时间
2022-2-12
最后登录
1970-1-1
2023-3-10 19:17:51 | 显示全部楼层 |阅读模式

前情提要

因为某个老项目 的 HTML to PDF 组件,有问题了需要修。
然后网上找了下解决方案,结果大部分是收费的。最终用的还是MIT的。
但是也有不少虽然不能用在项目里,但是可以拿来练手的。

受害者 来源

https://stackoverflow.com/questions/564650/convert-html-to-pdf-in-net
列表中 PDF Metamorphosis .Net 所在系列 其中一员 Document .Net
虽然它不是 pdf 的,但是里面逻辑全面一点,其他库 核心逻辑 和算法一致

正篇开始

先上demo代码。

// NOTICE: Place this line firstly, before creating of the DocumentCore object.
DocumentCore.Serial = "1234567890";
// Let's create a new document by activated version.
DocumentCore dc = new DocumentCore();
dc.Content.End.Insert("Hello World!", new CharacterFormat() { FontName = "Verdana", Size = 65.5f, FontColor = Color.Orange });
// Save a document to a file in DOCX format.
string filePath = @"Result.d
还有更多的精彩内容,作者设置为付费后可见
UltraDebug免责声明
✅以上内容均来自网友转发或原创,如存在侵权请发送到站方邮件9003554@qq.com处理。
✅The above content is forwarded or original by netizens. If there is infringement, please send the email to the destination 9003554@qq.com handle.
回复 打印

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|站点地图|UltraDebug ( 滇ICP备2022002049号-2 滇公网安备 53032102000034号)

GMT+8, 2025-6-18 20:45 , Processed in 0.034313 second(s), 9 queries , Redis On.

Powered by Discuz X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表