Reads a Text File

Namespace: LLCryptoLib.Utils
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public string ReadFile(
	string absolutePath,
	Encoding enc
)
Visual Basic
Public Function ReadFile ( _
	absolutePath As String, _
	enc As Encoding _
) As String
Visual C++
public:
String^ ReadFile(
	String^ absolutePath, 
	Encoding^ enc
)

Parameters

absolutePath
Type: System..::..String
Absolute Path of file to read from
enc
Type: System.Text..::..Encoding
Encoding of the text file. Use Encoding static members.

Return Value

Text Contents of the file

See Also