File Size

Use the FileInfo class. It accepts the full path to a file as its constructor, then you can use the Length property to get the size of the file in bytes. Divide this by 1024 and you have it in kilobytes.
 

Similar threads

A
Replies
0
Views
78
Ashkan Satarpour
A
S
Replies
0
Views
57
sva0008
S
F
Replies
0
Views
7
Forrester Blog Network
F
E
Replies
0
Views
76
E
Back
Top