使用C#的自动闪存程序 [英] Auto flash memory program with C#

查看:113
本文介绍了使用C#的自动闪存程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想编写一个在闪存中运行的C#程序,并随时将内存连接到它运行的(任何)PC并执行一些工作(例如从Internet下载某些文件)

好,我该怎么做?有任何想法吗?

感谢

Hi
I Want to write a C# program that run at flash memory and anytime memory connect to (any) pc it run and do some work (such downloading some file from internet)

well how I do that? any Idea?

thanks

推荐答案

我只知道一种方法,每次该设备连接到PC时(在Windows中)从存储设备执行程序:将文件命名为Autorun.inf" [ ^ ],并将您的程序设置为运行操作.这是非常不可靠的方式,因为用户可能会在操作系统设置中禁用自动运行操作,也可能会阻止它们运行防病毒软件,但是我怀疑是否存在任何其他[简单]解决方案
I know only one way to execute a program from memory device each time this device is connected to PC (in Windows): place file named "Autorun.inf"[^] in the root of the device and set your program as the run action. This is quite unreliable way, because autorun actions may be disabled by user in OS settings or blocked by antivirus software, but I doubt any another [simple] solution exists


复制到存储设备上,并在每次将设备连接到PC时自动运行"

是的,没错.
" a program which will be copied on memory device and auto-run each time device is connected to pc"

Yes , that''s correct.


是的,可以.谢谢.但是我正在寻找另一种解决方案...
Yes, that''s work.Thanks. but I looking for another solution if exist...


这篇关于使用C#的自动闪存程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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