I am trying to read the config file from another software in C# Winform but cannot get what language it is written in as some of its items has closing brackets, others don't. OpenXML doesn't like code without </Name>
brackets and with spaces between words in tags like <User Name>
. Has anyone come across trying to parse this type into C# Object or know what language generated it? I am reading a very large config file (1000+ lines) so cannot be hardcoded.
Example of config file:
<Profile>
<Name>Default Profile
<User Name>User1
<User Settings>
<Setting1>Yellow
<Setting2>Admin
<Setting3>Full Screen
</User Settings>
</Profile>