隐藏文件夹中的视频文件 [英] Hide video files inside a folder

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

问题描述

我是C#编程的新手,我开发了一个应用程序来显示不同的视频剪辑,并将所有剪辑放入一个文件夹中.当我使用安装文件安装另一台计算机时,所有这些剪辑都放在程序文件夹内的文件夹中.用户可以在文件夹中看到剪辑.我的问题是文件夹中的那些剪辑对于用户应该是不可见的,或者不能被复制,请任何人帮助我....

I am new one to C# programming I have developed an application to display different video clips all the clips are put into a folder. when I install another computer using the setup file all these clips are put into a folder inside the program folder. user can see the clips in the folder. my problem is those clips inside the folder should be invisible to the user OR cannot be copies please any one help me....

推荐答案

隐藏它们-您可以设置文件属性隐藏"位,但是即使用户更改了Windows资源管理器视图选项,用户仍然可以看到它们.
根据您查看它们的方式,您可以尝试更改扩展名,使它们作为视频文件不明显,或者将它们作为嵌入式视频添加到您的应用程序中.另外,您也可以将它们插入ZIP或RAR归档文件并用密码保护-但这取决于您如何显示它们.
You can''t really hide them - you can set the File Attribute Hidden bit, but even then the user can see them if he changes the Windows Explorer View options.
Depending on how you are viewing them, you could try changing the extensions so they are not obvious as video files, or adding them as embedded videos to your application. Alternatively, you may be able to insert them into a ZIP or RAR archive and password protect it - but it depends on how you show them.


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

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