Hi,
I have a project running for more then a year on Panda II boards.
The panda connects at startup to a webserver to read some configuration data.
The data is stored in an xml file.
Now I want to do the same with a cerbuino board. But it won’t work.
I get System.NotSupportedException on XmlReader.Create((ms))
Is there an onther way to read the xml data? Or what is the difference between panda & cerbuino?
using (MemoryStream ms = new MemoryStream(Data))
{
using (XmlReader xmlReader = XmlReader.Create((ms)))
{
xmlReader.ReadStartElement("settings");
while (!xmlReader.EOF)
{
if (xmlReader.MoveToContent() == XmlNodeType.Element)