Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Pls, how can i detect a file copy operation in Windows using VB.net.
I want to build a software to restrict copy operation based on user Access or a password scheme.
How do i go about this..?
Posted

 
Share this answer
 
You can't. A copy operation is no different than an application opening a file for write access. There is no "Copying a file!" event exposed by Explorer or Windows for that matter.

Think about it. How would you machine know if a remote machine was copying a file to your machine or just opening a file on your machine and writing data to it?? There is no difference.

The same is true for all local copy operations.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900