public static void pumpFile(string FileName, long Bytes)
{
System.IO.FileStream pumpFile = System.IO.File.OpenWrite(FileName);
long pumpSize = pumpFile.Seek(0, System.IO.SeekOrigin.End);
byte[] bytarray = new byte[Bytes + 10];
bytarray = Encoding.UTF8.GetBytes(Util.getRandNum(bytarray.Length));
//new Random().NextBytes() <- flagged on Avira as TR/Generic
while (pumpSize < Bytes)
{
pumpSize++;
pumpFile.WriteByte(bytarray[pumpSize]);
}
pumpFile.Close();
}