StreamWriter not working with Memory Stream

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
Hey Ho
Posts: 5
Joined: Wed Aug 19, 2015 3:05 pm

StreamWriter not working with Memory Stream

Postby Hey Ho » Fri Sep 04, 2015 7:24 pm

This Code only works in the Simulator, in the WebSite Version the length of the MemoryStream is 0


System.IO.MemoryStream ms2 = new MemoryStream();
System.IO.StreamWriter writer = new StreamWriter(ms2);
writer.Write(xml);
writer.Flush();
MessageBox.Show(ms2.Length.ToString());

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: StreamWriter not working with Memory Stream

Postby JS-Support @Userware » Sun Sep 06, 2015 10:30 am

Hello,

Thanks for reporting this issue. We have taken note of it and are going to work on it. I will keep you updated of the progress.

Regards,
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 38 guests