Skip to content

hintdesk

A Tri Nguyen's blog

Tag: usb

C# – Catch USB plug and unplug event

When I am making a review of session 0 and windows service, I would like to write a small example to detect the plug and unplug event of USB stick and attach it to windows service. I used ManangementEventWatcher class to subscribe to temporary event notifications based on a specified event query. This query is… Continue reading C# – Catch USB plug and unplug event

Published April 18, 2008
Categorized as Programming Tagged c#, plug, unplug, usb

Recent Posts

  • Angular 6 – Google Drive Api v3 example
  • AuVid Splitter – Tools for splitting MP3 files
  • .Net Core Web Api – Basic Authentication
  • DropLock – Unlock the locked file in Windows
  • .Net Core – NHibernate with MySQL

Recent Comments

  • Farid on Angular 6 – Google Drive Api v3 example
  • tinel on C# – Menu in NavigationWindow tutorial
  • Clay Shannon on C# – How to use Google Custom Search API?
  • Clay Shannon on C# – How to use Google Custom Search API?
  • Clay Shannon on C# – How to use Google Custom Search API?
hintdesk
Proudly powered by WordPress.