How to get correct pdf size
<p>Hi I'm using some code as follows:</p>

<pre><code>var f = new FileInfo(@"C:\sample.pdf");
var size = f.Length
</code></pre>

<p>When I inspect the file in explorer it shows a size of 214KB.</p>

<p>My code shows a size of 218.882KB.</p>

<p>Is this difference due to explorer not including metadata?</p>

<p>Can somebody tell me how through code I could get the 214KB figure?</p>
