
October 1st, 2012, 12:44 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
Process.StandardOutput is a StreamReader, which is a subclass of TextReader. And DataSet.ReadXml() accepts a TextReader. So
Code:
ds.ReadXml(p.StandardOutput);
No MemoryStream needed.
|