[C#]File Pumper Source
Written by me, pumps files with bytes. Enjoy!
public void FilePump(string filepath,int amountofbytes)
{
if (filepath == "")
{
MessageBox.Show("You need a file to pump .-.");
}
else
{
var file = System.IO.File.OpenWrite(filepath);
int ii;
ii = 0;
while (ii < amountofbytes)
{
file.WriteByte(1);
ii = ii + 1;
}
MessageBox.Show("Done pumping sir.");
}
}