jeudi 30 avril 2015

Is 1MB = 1000000 bytes OR 1048576 considering file size

I have to place a 1MB size check on my files to be uploaded . Now in code (using c#) i have to mention the size in bytes . Should i check the size of upload file with the value MaxSizeInBytes = 1048576 OR MaxSizeInBytes = 1000000 .

Aucun commentaire:

Enregistrer un commentaire