Catching windows Low Disk Space event
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi all, I wish to cath windows "Low Disk Space" event (ID 2013) inside my C# application. The class SystemEvents doesn't include this event, so how can I catch it? Thanks a lot, Eyal.
You're talking about two different "Event" types. The event you're talking about is nothing but an entry in a log. It's not a programming "Event". There is no programming event like you're thinking about. There is no event to subscribe to to catch this. Your code will have to watch the event log and look for the occurance of the entry you want.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008