加密文件夹 [英] encrypt folders

查看:96
本文介绍了加密文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个人如何告诉加密文件夹???我知道如何加密文件,但是我发现文件夹是另一回事.有人能帮我吗?请让代码在VB.NET中的其他答案中,我得到的只是C#代码.我不知道c#

how does one pray tell encrypt folders??? I know how to encrypt files but I find that folders are a different matter. can someone help me? please let code be on VB.NET in my other answers all I got was C# code. I don''t know c#

推荐答案

如果您知道" VB.NET,那么将C#转换为VB.NET非常简单.至于加密文件夹,请看一下SharpZipLib,它是一个可以在代码中使用的库.
If you "know" VB.NET then it''s pretty simple to translate C# to VB.NET. As for encrypting folders, take a look at SharpZipLib, it''s a library you can use in your code.


您可以加密文件夹中的每个文件,但是我不加密认为您可以加密文件夹本身.最接近的方法是创建一个加密的ZIP文件(使用第三方工具),其中包含文件夹及其内容,然后从系统中删除该文件夹.
You can encrypt every file inside of a folder, but I don''t think you can encrypt the folder itself. The closest you can get would be to create an encrypted ZIP file (using a third-party tool) that contains the folder and its contents, then delete the folder from your system.


这篇关于加密文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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