Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi,

I am using winusbnet library available in git for my windows form application.Can anyone help me to use this library for notifying sudden changes in USB(arrival/removal).I have 4 windows.I am not talking of an error.I read the wiki documentation but no information regarding the notifier.My problem is while I suddenly disconnect USB from PC,it should get disconnected from my application too and inbetween if I plug in it should get automatically get connected to.I need to get a pop up telling USB connected or disconnected.Since I used this library to tranfer data,identify the device etc if someone have used this please help.

What I have tried:

tried using the following library:

GitHub - madwizard-thomas/winusbnet: WinUSB .NET wrapper library[^]
Posted
Updated 2-May-18 18:13pm
v2

1 solution

A. For using any code from GitHub:

1. review the current open issues ... you may find you are dealing with something that is already known.

2. read/study the documentation ion the Wiki: WinUSB has the following links in the Wiki [^] :

Online library reference
Documentation
INF template

3. Consider raising an issue on that Git repository if you think there is an error caused by its code that you can describe clearly..

B. You need to give us much more information about your problem:

"But got confused with notifier." What does that mean: was there an error ?

"I have 4 windows." Okay, what are they; what do they do.handle ?

Post more information by editing your original post. Remember, we can't read your mind.
 
Share this answer
 
Comments
Member 13688117 3-May-18 0:12am    
Modified.Please check.Thank you
suryadeep dasgupta 24-Nov-22 6:06am    
As you say you used this library to tranfer data.can you tell me the process?
BillWoodruff 24-Nov-22 6:13am    
Research it, experiment: Post specific issues on a new thread on this forum.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900