str xmlStr;
System.IO.StreamReader sreader = new System.IO.StreamReader(_stream, System.Text.Encoding::UTF8, true);
xmlStr = sreader.ReadToEnd();
str xmlStr;
System.IO.StreamReader sreader = new System.IO.StreamReader(_stream, System.Text.Encoding::UTF8, true);
xmlStr = sreader.ReadToEnd();
System.IO.MemoryStream streamArchive = _args.getStream();
if (streamArchive.CanSeek)
{
streamArchive.Seek(0, System.IO.SeekOrigin::Begin); //avent: set stream position to 0 so we can read/copy it.
}
streamArchive.CopyTo(stream);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 287,835 Super User
Martin Dráb 225,526 Super User
nmaenpaa 101,148