<< Click to Display Table of Contents >> Navigation: SshNetIbmi Class > SshNetIbmi Methods > ReadTextFile Method |
Summary
Read entire local text file contents and return as string.
Uses the System.IO.File.ReadAllText method.
Parameters
filename - Input file name
encoding - File encoding to use. null=default to UTF8
Returns
Contents of file as string or blanks on error.