How to set the File Info
<p>I am writing this below code in my C# project. I am getting the following error:</p>

<p>The best overloaded method match for <code>System.IO.File.FileInfo</code> has some invalid arguments;</p>

<p>Whether the code is correct or not.</p>

<pre><code>FileInfo file = new FileInfo(ViewState["value"]);
</code></pre>

<p>Thanks in advance</p>
