donhartman / filesize Goto Github PK
View Code? Open in Web Editor NEWThis project forked from stevepotter/filesize
Provides a .net struct that lets you parse file sizes ("2mb","30kb"), manipulate the file size in various units, and format it pretty. Simple usage: new FileSize("2000mb").ToString(). Note this is available on nuget.