密码保护的wmv [英] Password protected wmv

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

问题描述

我们有一个受密码保护的程序,附带一组.wmv视频教程。在应用程序中,通过调用System :: Diagnostics :: Process :: Start(filename) 来播放wmv文件,默认查看器将播放文件。

We have a password protected program that ships with a set of .wmv video tutorials. From within the app the wmv files are played by making a call to System::Diagnostics::Process::Start(filename)  and the default viewer will play the file.

为了保护专有信息,我们需要防止在没有安装我们软件的计算机上复制和播放.wmv文件。保护.wmv文件的密码可以解决问题,但是wmv文件不支持密码
保护。 

In order to protect proprietary information, we need to prevent the .wmv files from being copied and played on computers that do not have our software installed. Password protecting the .wmv files would solve the problem, but wmv files do not support password protection. 

我正在寻找解决此问题的想法和建议。

I am looking for ideas and suggestions to solve this issue.

谢谢

推荐答案

 

选项1

您可以将这些.wmv文件包含为嵌入式资源,以便将它们编译为.exe / dll。运行时需要从资源中读取并将它们转换回.wmv并运行它。最后你需要删除这些文件。

You can include those .wmv files as an embedded resource so that they will compiled to your .exe/dll. Run times you need to read from resource and convert them back to .wmv and run it. At the end you need to delete those files.

http://msdn.microsoft.com/en-us/library/3w5b27z4(v = vs.80).aspx

http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread / b5c3a455-14c8-4990-8a7a-756778d836d6

选项2 您可以将所有.wmv包含为受密码保护的.zip文件。通过程序,您可以通过提供密码到临时文件夹解压缩并运行它。

Option 2 You can include all .wmv as a password protected .zip file. By program you can unzip by supplying password to a temp folder and run it.


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

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