EDIFileScrubber – Getting Time Elapsed


    Getting Time Elapsed

    Developers can check how long it takes to scrub an EDI file using the Milliseconds property of the FileLoadingEventArgs component. The Milliseconds property will give the number of milliseconds it took to scrub the file.

    Subscribe to the FileScrubbingCompleted event. It contains the Milliseconds property in its eventargs object.


    scrubber.FileScrubbingCompleted += new EDIFileScrubber.EDIFileScrubbingCompletedEvent(scrubbingCompleted);

    private void scrubbingCompleted(object sender, FileLoadingEventArgs e)
    in EDI File Scrubber
    Did this article answer your question?