Home All Groups Group Topic Archive Search About

File - Size and Size on disk information

Author
26 Jun 2006 5:36 PM
Suresh.Eddala
Hi,
  I am trying to get file size information in my code.

   FileInfo().Length  is returning the size of the file.

  I have checked on File information in windows right click properties,
it has  two properties.
  -- Size
  -- Size on disk

  It seems size on disk is vary based on file system type and cluster
size,
  Can any one tell me. How we can get Size on disk value for file.


Thank you!
Suresh

AddThis Social Bookmark Button