Is there a way to read only the first line (or first few lines) from a remote file, instead of downloading the entire file to Memory Stream (sftp.DownloadFile)?
ReadLines method doesn't seem to help here.
ReadLines method doesn't seem to help here.