如何在asp.net中检测笔式驱动器 [英] how to detect pen drive in asp.net

查看:69
本文介绍了如何在asp.net中检测笔式驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我想检测到Pendrive,有人可以帮我吗
在asp.net

in my application i want to detect the pendrive can any one help me for this
in asp.net

推荐答案

中,如果这确实是ASP.NET,那么您不能-笔式驱动器将连接到客户端PC,并且没有办法出于安全原因,服务器可以检测到它的存在,插入的更少.

如果您打算在.NET winforms应用程序中检测到它,请查看此文章:在一个C#程序 [^ ]-它涵盖了插入和删除.
If this is truly ASP.NET then yoiu can''t - the Pen drive would be connected to the Client PC and there is no way the Server can detect that it exists, much less has been plugged in, for security reasons.

If you mean to detect it in a .NET winforms app, then have a look at this article: Detecting USB Drive Removal in a C# Program[^] - it covers insertion and removal.


尝试
检测USB插入和拔出. [ ^ ]
Try
Detectng USB insertion and Removal.[^]


尝试使用此URL ........................
Try this URL........................C# MIDI Toolkit[^]


这篇关于如何在asp.net中检测笔式驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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