Search code examples
c#foreachregistry

Retrieve Data from Windows Registry


I store serialized data in the registry. I want to use a foreach loop to iterate through that data. On each iteration I would like to add that data to a dictionary. As follows:

  1. // Create dictionary

    myDictionary = new Dictionary();
    
  2. // iterate through previously stored data and add it to Dictionary

    foreach (object x in Application.UserAppDataRegistry.___________)
    {
     myDictionary.add(x); 
    }
    

Question: Is there a simple method that retrieves all data in the registry?


Solution

  • All (you wanted to know) about the Registry with C#, Part 1 of 2 I have waiting for 6 years but there is no part 2