Creating Objects out of the registry using C#
<p>So here is what I am trying to accompish.  I have several logging keys in the Registry for each specific process.</p>

<p>I would like to make an object out of these when the program starts so I can access the values when I need, so basically they are preloaded.</p>

<p>Here is what I have got thus far my class:</p>

<pre><code>class LoggingInfo
{

    //field data

    private String LogName;
    private int DailyFile;


    // Constructors. 
    public LoggingInfo() { }
    public LoggingInfo(String LogName, int DailyFile)
    {
        this.LogName = LogName;
        this.DailyFile = LogDailyFile;

    }

}
</code></pre>

<p>So how do I get the properties from the registry for say the LoggingInfo Object?   In my main program do I need to pass anything in?</p>
