Answer the question
In order to leave comments, you need to log in
How to make a ban on editing a file for the second user if it was opened by the first user?
How to do it more logically and rationally?
There is a
file
If the first user opened it for editing, the second one can open it only for reading
edit
What more reasonable suggestions do you have?
Answer the question
In order to leave comments, you need to log in
https://msdn.microsoft.com/en-us/library/system.io... - the value of this parameter must be set to Read. It is not necessary to fence bicycles, it is worth studying the standard library.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question