Skip to main content

FileShare Enum

NuGet: GHIElectronics.TinyCLR.IO
Assembly: GHIElectronics.TinyCLR.IO
Namespace: System.IO

Controls the access other openers may have to a file that is already open.

public enum FileShare

Fields

NameValueDescription
None0No sharing; the file cannot be reopened until it is closed.
Read1Allows the file to be subsequently opened for reading.
Write2Allows the file to be subsequently opened for writing.
ReadWrite3Allows the file to be subsequently opened for reading or writing.