c# - How to read last line from output process class? -


i'm using process class start process, it's calculating data giving output @ it's console , need read last line of process console. how should done? it's process.beginoutputreadline(); not know how use read last line.

string lastline = null; while (!process.standardoutput.endofstream)  {     lastline = process.standardoutput.readline(); }  //do want here lastline; 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -