posts - 19, comments - 20, trackbacks - 0

My Links

News

Twitter












Archives

Post Categories

How to Wrap hard disk in a control?Help

Well..I am trying to index my hard disk.
After making an initial Index,I want to get notified from hard disk for any change in the file system on any drive whatsoever (Removable media not into account).The hard disk will notify a background  running windows service(of my app) for event like file moved,copied,deleted,created etc.
U can say,i want to make my hard disk a control like a button which fires event when clicked.Using Windows Indexing Service would be an overkill.
Any suggestions or ideas or alternates if somebody have in mind.:)
I would be very thankful to u.

Print | posted on Friday, November 28, 2008 5:38 AM | Filed Under [ .Net WPF Internship Fun ]

Feedback

Gravatar

# re: How to Wrap hard disk in a control?Help

Check out the filesystemwatcher class and see if that will do what you want.

http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
11/28/2008 6:30 AM | Stacy Vicknair
Gravatar

# re: How to Wrap hard disk in a control?Help

Thanks for the link..I believe it will fulfill what i needed for my app..
11/28/2008 4:32 PM | sonam
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: