Replies: 1 comment
-
ReadAllText specifies FileShare.Read. It could be use concurrently with any other operation using a compatible file lock. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to read all text of a file but there is a small chance that something else is writing/reading to/from it at the same time. Can I use ReadAllText and if not, what else should I use instead?
Beta Was this translation helpful? Give feedback.
All reactions