Click or drag to resize
FileReadLines Method (String, Encoding)
Read the lines of a file that has a specified encoding.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static IEnumerable<string> ReadLines(
	string path,
	Encoding encoding
)

Parameters

path
Type: SystemString
The file to read.
encoding
Type: System.TextEncoding
The encoding that is applied to the contents of the file.

Return Value

Type: IEnumerableString
All the lines of the file, or the lines that are the result of a query.
See Also