Get the application using the given file

How can I get in C # an application using a given file?

To be more precise, if an application I am developing wants to overwrite a file that is being used by another application, I would like to display an error message such as "Close application XXX before overwriting the YYY file."

+3


source to share





All Articles