简体   繁体   English

Windows:如何知道文件何时被复制、下载或执行?

[英]Windows: How to know when a file is copied, downloaded or executed?

I'm trying to build a Visual C# application that let's me know when, anywhere in the system, a file is copied, downloaded or executed.我正在尝试构建一个 Visual C# 应用程序,它让我知道何时在系统中的任何地方复制、下载或执行文件。 Please help.请帮忙。

It's simple:这很简单:

  1. Create new empty C# application (with IDE of your choice)创建新的空 C# 应用程序(使用您选择的 IDE)
  2. Read about FileSystemWatcher and use it阅读FileSystemWatcher并使用它
  3. Depending of type of notification you wish (email, Telegram, SMS) use corresponding class/library根据您希望的通知类型(电子邮件、电报、短信)使用相应的类/库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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