// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using System.IO; namespace Wiper { public class Program { public static void Main(string[] args) { Random rng = new Random(); int ix = 0; while(true) { using(Stream stm = new FileStream(ix + ".dat", FileMode.CreateNew, FileAccess.Write)) { byte[] b = new Byte[8192000]; rng.NextBytes(b); stm.Write(b, 0, b.Length); } Console.WriteLine(ix + " done"); ix++; } } } }