FileSystemWatcher problem



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?
.



Relevant Pages

  • Re: logging data accessed by user
    ... I question whether even if you did monitor ... >> the event log and detect such accesses within an actionable time ... So we both see the potential high overhead and the potential for ... It is all in understanding what is "the watcher" of the untrusted. ...
    (microsoft.public.win2000.security)
  • Re: FileSystemWatcher problem
    ... 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. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: FileSystemWatcher onCreated tell where it was created from?
    ... What do u need is to monitor harddrivers for changes, ... B> acceptable) this the FileSystemWatcher does not do (straightforwardly ... public static void Main ... RenamedEventArgs e) ...
    (microsoft.public.dotnet.framework)
  • RE: File System Monitor Question
    ... to create another FileSystemWatcher for the other directory. ... >Subject: File System Monitor Question ... >public class DirectoryMonitorConsole ... >private static void OnChanged ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ASP.NET Application and FileSystemWatcher
    ... I forgot to say that directory which I monitor is a shared folder on the ... > anywhere but between a client http request and the server response. ... >> easy).I initialize my class which is using a FileSystemWatcher in my ...
    (microsoft.public.dotnet.framework.aspnet)