隐藏和隐藏的C#编码取消隐藏文件夹,驱动器和档案 [英] c# coding for hide & unhide folders,drives & files

查看:152
本文介绍了隐藏和隐藏的C#编码取消隐藏文件夹,驱动器和档案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

c#编码,用于隐藏和取消隐藏文件夹,驱动器和文件以通过为文件夹和文件提供密码保护来隐藏,阻止任何文件

[修改:固定了&符号:sigh:]

c# coding for hide & unhide folders,drives & files to hide , block any files by giving password protection to files folders & files

[Modified: fixed the ampersands :sigh: ]

推荐答案

您是否期望这是一个问题?这听起来像对我的要求.如果您希望某人将完整的代码交付给您的规范,则工作板链接位于顶部,您应该为此付出代价.文件和文件夹的密码保护问题在这里已被多次讨论,共识始终是您可以用密码保护zip,并且可以像在其他任何文件夹中一样在文件系统中与它进行交互.
Did you expect that this was a question ? It reads like a demand to me. The job board link is at the top if you want someone to deliver full code to your spec, you should expect to pay for it. The question of password protection of files and folders has been rehashed here many times, the concensus is always that you can password protect a zip and you can interact with it in the file system like any other folder.


您可以使用注册表隐藏驱动器,但可以通过在其中写入名称来从资源管理器访问它们.要实时隐藏,您必须具有可将其从os中隐藏的内核级驱动程序.
you can hide drives using registry but they can be access from explorer by writing there name.for real time hiding u must have kernel level driver which hide them from os.


编写驱动程序或Windows服务.请记住,管理文件系统的大多数部分都需要管理员特权,这对于同样笨拙的用户来说可能是个麻烦.
You have to write a driver or a windows service. Keep in mind that admin privildeges are required to manipulate most parts of the file system, and this could be a hassle for your equally clueless users.


这篇关于隐藏和隐藏的C#编码取消隐藏文件夹,驱动器和档案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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