getting root folder of application
<p>I am trying to get the root folder of the application.  I have used the following code, but this gives the bin folder, but what I need is the root folder of the application.  Is it possible to get this?</p>

<pre><code>// This is the full directory and exe name
        String fullAppName = Assembly.GetExecutingAssembly().GetName().CodeBase;

        // This strips off the exe name
        String fullAppPath = Path.GetDirectoryName(fullAppName);
</code></pre>
