How to know which file is opening in Computer using C#
I want to know the file name which we are opening. For example:
If we are opening notepad.exe then my program should display that notepad.exe g开发者_Go百科ot opened.
If we are opening song.mp3 then my program should display that song.mp3 got open.
If we are opening movie.mpeg then my program must tell that movie.mpeg got open.
If we are opening abc.txt then my program must tell that abc.txt got open.
Here I want to know what files are getting open on my computer.
Please help me out.
Thanks
It's quite difficult to list out all files opened. Take a look at the Listing Used Files solution on Code Project. It lists all the files which are currently open.
精彩评论