locked
User global hook to monitor the Open/Read/Modify operations of a file. RRS feed

  • Question

  • Hi,

    I have a question about Windows API during the development of desktop app. I want to monitor the operation of files, and get the operation information of a target file in the system.
    I have already known that it can be achieved by FileSystemWatcher, it can monitor Created/Deleted/Changed/Renamed file operation of target file or target directory. But I also want to investigate whether there is a mothod like global hook.

    Are there any suggestions?
    Thank you very much.

    Friday, December 11, 2020 5:40 AM

All replies

  • Hi Jeremy Zhu,

    >>I have a question about Windows API during the development of desktop app

    Since your question is related to Windows API, you can consider posting your question on winapi(Q&A) forum for more help.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    Visual Basic and CLR forum will be migrating to a new home on Microsoft Q&A! (VB.NET and CLR) We invite you to post new questions in the new home on Microsoft Q&A ! For more information, please refer to the sticky post(VB.NET and CLR).

    Monday, December 14, 2020 3:00 AM