Writes the current configuration information to an XML string. String is in .NET XML Serialization format.