У вашего броузера проблема в совместимости с HTML5
What is File Size
A file size is the measure of space a file takes on a storage medium such as a computer hard drive. File sizes can be measured in bytes (B), kilobytes (KB), megabytes (MB), gigabytes (GB), terabytes (TB), and so on.
In the given picture below of files listed in Windows Explorer, the size column has been sorted to show the largest file first.
Get File-Size
Any file has a file size. C# is very good at reading files for the byte count. In order to get file size that is readable (2 kb, 3 mb, etc.) you need to use a few if statements.
Complete Tutorial & Source Code: https://ukacademe.com/ComputerProgramming/Blog/File_Size_C_Sharp