Popular Articles
Recent comments
- Awsome!!
7 hours 47 min ago - C# insert image
22 hours 39 min ago - jkll
3 days 10 hours ago - Thank You
4 days 10 hours ago - Another approach
6 days 11 hours ago - Issue
1 week 1 hour ago - thanks
1 week 11 hours ago - Calendar date time
1 week 17 hours ago - Nice Explanation
1 week 21 hours ago - ramya
1 week 3 days ago

Change the buffer type to long instead of int
90% sure that the issue with the arithmetic operation is because the file size is bigger than the Int32 size. Just change the buffer to a long (Int64) and try it again.