Reads a text file.
Namespace: LLCryptoLib.UtilsAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public string ReadTextFile( string filePath ) |
Visual Basic |
---|
Public Function ReadTextFile ( _ filePath As String _ ) As String |
Visual C++ |
---|
public: String^ ReadTextFile( String^ filePath ) |
Parameters
- filePath
- Type: System..::..String
The file path.
Return Value
The content of the read file as a string.
Remarks
In case this method return 'null', check ErrorMessage.