Click here to Skip to main content
15,886,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: setup - include driver installation Pin
Dave Kreskowiak10-Jun-11 3:53
mveDave Kreskowiak10-Jun-11 3:53 
QuestionList Of DataRow Pin
om_metab9-Jun-11 22:50
om_metab9-Jun-11 22:50 
AnswerRe: List Of DataRow Pin
V.9-Jun-11 22:57
professionalV.9-Jun-11 22:57 
AnswerRe: List Of DataRow Pin
BobJanova9-Jun-11 23:47
BobJanova9-Jun-11 23:47 
AnswerRe: List Of DataRow Pin
Pete O'Hanlon10-Jun-11 0:13
mvePete O'Hanlon10-Jun-11 0:13 
GeneralRe: List Of DataRow Pin
om_metab10-Jun-11 0:35
om_metab10-Jun-11 0:35 
QuestionDetecting USB devices Pin
majamer9-Jun-11 21:46
majamer9-Jun-11 21:46 
AnswerRe: Detecting USB devices Pin
Kim Togo10-Jun-11 0:23
professionalKim Togo10-Jun-11 0:23 
I would use WMI for that task. How To: (Almost) Everything In WMI via C# - Part 3: Hardware[^].

Example:

C#
// Create event query to be notified within 1 second of 
// a change in a service
WqlEventQuery query = new WqlEventQuery(eventName,
                      new TimeSpan(0, 0, 1),
                      "TargetInstance isa \"Win32_USBControllerDevice\"");

// Initialize an event watcher and subscribe to events  that match this query
EventWatcher = new ManagementEventWatcher();
EventWatcher.EventArrived += eventHandler;
EventWatcher.Query = query;

GeneralRe: Detecting USB devices Pin
majamer13-Jun-11 3:17
majamer13-Jun-11 3:17 
QuestionCopying List into KeyValuePair Pin
AmbiguousName9-Jun-11 20:38
AmbiguousName9-Jun-11 20:38 
AnswerRe: Copying List into KeyValuePair Pin
Pete O'Hanlon9-Jun-11 23:24
mvePete O'Hanlon9-Jun-11 23:24 
GeneralRe: Copying List into KeyValuePair Pin
AmbiguousName10-Jun-11 0:40
AmbiguousName10-Jun-11 0:40 
GeneralRe: Copying List into KeyValuePair Pin
Pete O'Hanlon10-Jun-11 1:16
mvePete O'Hanlon10-Jun-11 1:16 
GeneralRe: Copying List into KeyValuePair Pin
BobJanova10-Jun-11 6:01
BobJanova10-Jun-11 6:01 
AnswerRe: Copying List into KeyValuePair Pin
BobJanova9-Jun-11 23:51
BobJanova9-Jun-11 23:51 
GeneralRe: Copying List into KeyValuePair Pin
AmbiguousName10-Jun-11 0:39
AmbiguousName10-Jun-11 0:39 
GeneralRe: Copying List into KeyValuePair Pin
BobJanova10-Jun-11 0:53
BobJanova10-Jun-11 0:53 
AnswerRe: Copying List into KeyValuePair Pin
Luc Pattyn10-Jun-11 0:48
sitebuilderLuc Pattyn10-Jun-11 0:48 
QuestionContext Menu Menu Item Click Event Handler Pin
namelkcip9-Jun-11 16:38
namelkcip9-Jun-11 16:38 
AnswerRe: Context Menu Menu Item Click Event Handler Pin
PIEBALDconsult9-Jun-11 18:01
mvePIEBALDconsult9-Jun-11 18:01 
AnswerRe: Context Menu Menu Item Click Event Handler Pin
Luc Pattyn10-Jun-11 0:57
sitebuilderLuc Pattyn10-Jun-11 0:57 
QuestionHow to run NetworkInterface.GetAllNetworkInterfaces over the network on a remote machine? Pin
turbosupramk39-Jun-11 11:17
turbosupramk39-Jun-11 11:17 
AnswerRe: How to run NetworkInterface.GetAllNetworkInterfaces over the network on a remote machine? Pin
Mark Salsbery9-Jun-11 12:14
Mark Salsbery9-Jun-11 12:14 
GeneralRe: How to run NetworkInterface.GetAllNetworkInterfaces over the network on a remote machine? Pin
turbosupramk39-Jun-11 12:27
turbosupramk39-Jun-11 12:27 
AnswerRe: How to run NetworkInterface.GetAllNetworkInterfaces over the network on a remote machine? Pin
Luc Pattyn9-Jun-11 12:36
sitebuilderLuc Pattyn9-Jun-11 12:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.