private static void RandomDataGenerator_GeneratedComplete(object sender, RandomDataGenerationDoneEventArgs e) { Console.WriteLine(Convert.ToBase64String(e.RandomData)); }
protected virtual void OnWorkCompleted(object sender, RandomDataGenerationDoneEventArgs e) { GeneratedComplete?.Invoke(sender, e); }