[C#]反记忆阅读| virtualprotect是一个解决方案吗? [英] [C#]anti-memory reading | is virtualprotect a solution ?

查看:102
本文介绍了[C#]反记忆阅读| virtualprotect是一个解决方案吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!我试图增加我的程序的难度,以获得运行时readed(不一定倾销)。我做了一个巨大的谷歌搜索,我找到了VirtualProtect(和VirtualProtectEx)方法,可以将内存保护选项设置为PAGE_NOACCESS或其他选项。这是阻止程序/用户在运行时读取内存的正确方法吗?



我尝试了什么:



我在谷歌搜索,我发现了VirtualProtectEx和虚拟保护方法。

解决方案

参见 VirtualProtectEx功能(Windows) [ ^ ]。这仅适用于虚拟分配的内存。


Hello ! I am trying to increase the difficulty of my program to get runtime readed(not necessarily dumped). I made a huge google search, and i found VirtualProtect(and VirtualProtectEx) methods which can set the memory protection option to PAGE_NOACCESS or other options. Is this the right way to prevent a program/user to read the memory at runtime ?

What I have tried:

I searched in google and i found VirtualProtectEx and virtual protect methods.

解决方案

See VirtualProtectEx function (Windows)[^]. This only works for Virtually allocated memory.


这篇关于[C#]反记忆阅读| virtualprotect是一个解决方案吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆