protected virtual void OnWritingCompleted(
            object sender,
            byte[] data)
        {
            var args = new WritingCompletedEventArgs
            {
                RandomData = data
            };

            WritingCompleted?.Invoke(sender, args);
        }
Example #2
0
 private static void OnWritingCompleted(object sender, WritingCompletedEventArgs e)
 {
     Console.WriteLine("File recorded successfully.\n\n");
 }