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
- 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.
- 17 Jun. 2010 10:58am #2
- 17 Jun. 2010 04:10pm #3
Lol sorry bro. I have that in my code, just didnt wanna make people have a difficult time.
Shh, I'm watching My little pony.
- 18 Jun. 2010 05:28am #4