ReaderValue - AonaSuzutsuki/SavannahXmlLib GitHub Wiki
<?xml version="1.0" encoding="UTF-8"?>
<ServerSettings>
<property name="ServerName" value="My Game Host">
Whatever you want the name of the server to be.
</property>
<property name="ServerDescription" value="A 7 Days to Die server">
Whatever you want the server description to be, will be shown in the server browser.
</property>
<property name="ServerWebsiteURL" value="">
Website URL for the server, will be shown in the serverbrowser as a clickable link.
</property>
</ServerSettings>Get some values as IEnumerable<string>.
var values = reader.GetValues("/ServerSettings/property");
foreach (var value in values)
Console.WriteLine(value);Whatever you want the name of the server to be.
Whatever you want the server description to be, will be shown in the server browser.
Website URL for the server, will be shown in the serverbrowser as a clickable link.
var value = reader.GetValue("/ServerSettings/property");
Console.Writeline(value);Whatever you want the name of the server to be.