英文:
Sending phone a notification when a .NET software notifies me on PC
问题
我的兼职工作使用这个笨重的PC软件(通过查看文件,我可以告诉它是.NET,但我不知道其他信息)。当有任务请求需要完成时,它会实时通知PC,但我希望它也能在我的iPhone上通知我。是否有一种简单的工具/脚本,我可以编写来自动化这个过程?或者因为我无法访问软件的代码库,所以我没有办法?
由于该软件是用.NET编写的,我希望有一种方法可以访问软件的通知请求。搜索没有真正帮助,所以我希望有人能指导我正确的方向。
英文:
so my part-time job uses this clunky PC software (I could tell that it's .NET by looking at the files but idk anything else about it). It notifies the PC in real time when there's a task request that I have to complete, but I wish there was a way for it notify me on my iphone as well. Is there a simple tool / script that I can write to automate this? Or am I out of luck by not having access to the codebase of the software.
Since the software is written in .NET, I was hoping there's some way to access notification requests by the software. Googling didn't really help so I hope someone can point me in the right direction.
答案1
得分: 0
你可以将你自己的代码注入到大多数程序中。
在Windows上,例如CreateRemoteThread或DLL侧加载。
使用.NET更容易,因为不需要反向工程低级汇编以找到适合注入的位置。.NET IL是相当高级的,借助反编译器的帮助,可以还原为大部分原始源代码。
你可以使用Harmony来更容易地注入到托管运行时中。或者使用Mono.Cecil应用静态补丁。
如果你不熟悉通用编程,可以尝试使用AutoHotkey(AutoIt)及其ControlGetText。
英文:
You can inject your own code to mostly any program.
On Windows with i.e. CreateRemoteThread or DLL sideloading.
With .NET it's just easier, cause there is no need to reverse low level assembly to find the right place to inject. NET IL is quite high level and with help of decompiler can be reverted to mostly original source code.
And you can use Harmony for easier injection into managed runtime. Or apply static patch with Mono.Cecil.
If you are not familiar with general purpose programming you can try some luck with AutoHotkey (AutoIt) and it's ControlGetText.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论