Skip to content

ReadAllLinesNoLock Method ​

Definition ​

  • Namespace: JASE.IO
  • Assembly: JASE.dll

Overloads ​

NameDescription
string[] ReadAllLinesNoLock(FileInfo fileInfo)Reads all lines from a file without holding a long-term exclusive lock.
string[] ReadAllLinesNoLock(string filename)Reads all lines from a file without holding a long-term exclusive lock.

string[] ReadAllLinesNoLock(FileInfo fileInfo) ​

csharp
string[] ReadAllLinesNoLock(FileInfo fileInfo)

Reads all lines from a file without holding a long-term exclusive lock.

Parameters ​

NameDescription
fileInfoThe file to read.

Returns ​

An array of strings, one per line in the file.

string[] ReadAllLinesNoLock(string filename) ​

csharp
string[] ReadAllLinesNoLock(string filename)

Reads all lines from a file without holding a long-term exclusive lock.

Parameters ​

NameDescription
filenameThe path to the file to read.

Returns ​

An array of strings, one per line in the file.