Defragment.

Defrag(DefragmentConfig, IDefragmentListener) Method

Summary

Renames the file at the configured original path to the configured backup path and then builds a defragmented version of the file in the original place.

Syntax

public static void Defrag(DefragmentConfig config, IDefragmentListener listener)

Remarks

Renames the file at the configured original path to the configured backup path and then builds a defragmented version of the file in the original place.

Parameters

Name Type Description
config DefragmentConfig The configuration for this defragmentation run.
listener IDefragmentListener A listener for status notifications during the defragmentation process.

Return Value

Type Description
void