// 异步处理文件 async void GoHash(FileHasher task) { #if DEBUG var timer = new System.Diagnostics.Stopwatch(); timer.Start(); #endif await task.StartHashFile(); AddResult(task); #if DEBUG timer.Stop(); textBox_Stream.AppendText("耗时:" + timer.Elapsed.TotalMilliseconds + "ms" + newline + newline); #endif }