FileSystemWatcher problem

  • Thread starter Thread starter SharpCoderMP
  • Start date Start date
S

SharpCoderMP

hi,

i have a problem with the FileSystemWatcher:
i want the watcher to monitor my cd drive. but when i try to set the
FileSystemWatcher.Path property to "e:\" (which is my drive) and there
is no cd inside i get an exception.
So my question is - how can i monitor my cd-rom drive for disc changes?
 
Hello SharpCoderMP,

FileSystemWatcher doesn't work with CD and DVD drivers

S> i have a problem with the FileSystemWatcher:
S> i want the watcher to monitor my cd drive. but when i try to set the
S> FileSystemWatcher.Path property to "e:\" (which is my drive) and
S> there
S> is no cd inside i get an exception.
S> So my question is - how can i monitor my cd-rom drive for disc
S> changes?
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top