Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read file that is used by another process

Tags:

c#

.net

file

Is there ability to read file that is used by another process?

Thanks.

like image 903
iburlakov Avatar asked Feb 28 '23 12:02

iburlakov


1 Answers

If the process holds an exclusive lock on the file then no. If the process holds a shared lock, you can read it.

like image 95
mmx Avatar answered Mar 06 '23 20:03

mmx