How can I read this parameters inside my software? (c#)
<p><br/>
I have created a shortcut of my .exe file.<br/>
I want add  to '.exe' extra parameters.(on shortcut: Target attribute)<br/>
<strong>Example</strong><br/>
Target:<br/>
"C:\Documents and Settings\dezigo\My Documents\c# programm\DirectoryScanner\DirectoryScanner\DirectoryScanner\bin\Debug\DirectoryScanner.exe" + extra parrams(like a method=1)
<br/>
<strong>How can I read this parameters inside my software? (c#)</strong><br/>
Then ,when starting .exe  <br/>
check <br/></p>

<pre><code>if(method == 1)
{
 //do something
}
else
{
 //do something
}
</code></pre>
