string ReadFileText(string filePath, int64 maxCharsToRead)

Reads characters from a file.

Security

Trust Level Required: Full Trust

Parameters

Name Description
filePath The path to the file to read.
maxCharsToRead The maximum number of characters to read from the file.

Return

A JSON string where Bool indicates if the function succeeded and Str is the file text or an error message on failure.