Export the registry to a XmlDocument object and import registry keys from a XmlDocument object.
Using this type is easy:
- Add a reference to the class library.
- Add: using XmlDocumentRegistry.
- Instanctiate a new XmlDocument.
- Use the ImportFromRegistry extension method to import parts of your registry.
- Use the ExportToRegistry extension method to export the contents of the xml to the registry.