Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2006

Tip: Looking for answers? Try searching our database.

FileSystemWatcher help!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phuff - 16 Nov 2006 16:52 GMT
Okay, I am writing a service that monitors the file system on one of
our servers and I can take of that in a cinch.  However, I found no
properties or methods available to see who the user is that controls
the process performing the deletion.  I also need to know what
application is doing the delete.  I only want to know when a user is
manually delete a file through windows explorer.  Any suggestions?  Any
P/Invoke hooks?
Vadym Stetsyak - 16 Nov 2006 17:06 GMT
Hello, Phuff!

Actually, to accomplish what you want you will a driver.
Another way, using 'little hack' is called dll-injection. Using this technique
you can intercept calls to Win32 functions ( e.g. DeleteFile(...) ).

P> Okay, I am writing a service that monitors the file system on one of
P> our servers and I can take of that in a cinch.  However, I found no
P> properties or methods available to see who the user is that controls
P> the process performing the deletion.  I also need to know what
P> application is doing the delete.  I only want to know when a user is
P> manually delete a file through windows explorer.  Any suggestions?
P> Any
P> P/Invoke hooks?

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.