Click or drag to resize

FileInfoOpenText Method (Encoding)

[AlphaFS] Creates a StreamReader with Encoding that reads from an existing text file.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public StreamReader OpenText(
	Encoding encoding
)

Parameters

encoding
Type: System.TextEncoding
The Encoding applied to the contents of the file.

Return Value

Type: StreamReader
A new StreamReader with the specified Encoding.
See Also