|
-
May 13th, 2009, 05:40 AM
#1
current openned files
hi,
how i can get all current files openned by each running process using c#?
-
May 13th, 2009, 07:37 AM
#2
Re: current openned files
I think this is not possible outside device drivers, because of the rights one needs for that. See these:
http://www.microsoft.com/communities...=en-us&m=1&p=1
http://www.nirsoft.net/utils/opened_files_view.html
How does it work ?
OpenedFilesView uses the NtQuerySystemInformation API to enumerate all handles in the system. After filtering non-file handles, it uses a temporary device driver - NirSoftOpenedFilesDriver.sys for reading the information about each handle from the kernel memory. This device driver is automatically unloaded from the system when you exit from OpenedFilesView utility.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|