Written by me, pumps files with bytes. Enjoy!
PHP Code:
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.");
}
}
Results 1 to 4 of 4
Thread: [C#]File Pumper Source
Threaded View
- 17 Jun. 2010 10:25am #1
[C#]File Pumper Source
Last edited by Bman; 17 Jun. 2010 at 06:20pm.
Shh, I'm watching My little pony.