简体   繁体   中英

How to Detect save operation of windows using c#

I am building a project in C# dot net in which i want to detect any save operation of windows to run my project. It means that when user do any save operation then project will also create a copy of that saving file. So please help to detect any save operation in windows

You can detect modification of files using FileSystemWatcher class.

If you want to detect file modification in Visual Studio than you might need to write a VS extension.

By the sound of it all you need is a source control software, like Subversion , Mercurial or Git .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM