I have some trouble loading an XML File and turn it into string (like <XBoxIP></XBoxIP>
and I want whats in between them); this is my xml file:
<?xml version="1-0" encoding="UTF8"?>
<Config>
<XBoxIP></XBoxIP>
<XBoxPort></XBoxPort>
<XBoxUser></XBoxUser>
<XBoxPassword></XBoxPassword>
<XBoxSongPath></XBoxSongPath>
<LocalSongPath></LocalSongPath>
</Config>
Or is my XML File maybe incorrect? Thanks for the help, i am new to C# and XML.
XmlDocument doc = new XmlDocument();
doc.Load(path + "/Config.xml");
string xmlcontents = doc.InnerXml;
is the code im currently using, and i don't really know what to do after that.