wtbonnell
Active member
- Joined
- Oct 6, 2003
- Messages
- 32
Does anyone know how I can get the size of a file (in bytes) that is located on a hard-drive?
It is actually an image file (thumbnail). I tried the following below:
but that size property represents the dimensions. Any ideas?
Thanks for your help...
It is actually an image file (thumbnail). I tried the following below:
Code:
Bitmap bmp = new Bitmap(imgpath);
int imageSize = bmp.Size;
but that size property represents the dimensions. Any ideas?
Thanks for your help...