On .NET Framework documentation says that when I use FileInfo.OpenRead method a read-only FileStream is created but, which FileShare option is internally used?
Once I've opened the file is read or write locked?
On .NET Framework documentation says that when I use FileInfo.OpenRead method a read-only FileStream is created but, which FileShare option is internally used?
Once I've opened the file is read or write locked?
On
As per the documentation:
This method returns a read-only FileStream object with the FileShare mode set to Read.
A quick look in reference source reveals that it is
This setting is documented to