Quantcast
Viewing latest article 3
Browse Latest Browse All 6

Calculating the size of the File in C#

Introduction This code snippet explains how to calculate the size of the file and display in a label control. For example I am taking PDF file to find the size. It Displays the size of the file in Bytes, Kilobytes and Megabytes.   //Calculate size of the PDF file        if (PdfFilePath.EndsWith("pdf")) [...]

Viewing latest article 3
Browse Latest Browse All 6

Trending Articles