Skip to main content
Skip table of contents

Import Method (CaptureImporter)

The method that will run when a <see cref="CaptureImporter"/> is picked up by the engine.

CODE
public abstract List<string> Import();

Classes: 


Returns

List<string>

List of string file paths.


Example

The following example demonstrates 

CODE
public override List<string> Import()
{
	var directory = @"C:\Capture Files\";
	return Directory.GetFiles(directory).ToList();
}

Remarks

In GlobalCapture, files targeted for import are consumed when they are spawned into a GlobalCapture process. This method behaves consistently. Any files targeted by this method will be removed from their target location at the same time as the processes are created for the files in GlobalCapture.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.