Windows服务使用C#检测USB [英] windows service detect usb using c#

查看:52
本文介绍了Windows服务使用C#检测USB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Windows服务中检测USB的程序.
具有winProc功能的程序不适用于Windows服务.
谢谢

I need program that detect usb in windows service.
teh program with winProc function is not good to windows service.
thanks

推荐答案

不知道是否有帮助...但是此代码项目可以进行USB检测:
在C#程序中检测USB驱动器的移除 [
Don''t know if it will help...but this code project does usb detection:
Detecting USB Drive Removal in a C# Program[^]


否.这对我没有帮助.寡妇服务程序中无法执行带有窗体的程序
No. it''s not help me. program with form is not able in widows service progect


这篇关于Windows服务使用C#检测USB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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