Skip to content

Microsoft FactoryOrchestrator Client FactoryOrchestratorClient GetDirectoryFromDevice(string string bool)

Microsoft.FactoryOrchestrator.Client

Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient

FactoryOrchestratorClient.GetDirectoryFromDevice(string, string, bool) Method

Copies a folder from the device running Factory Orchestrator Service to the client. Creates directories if needed.

public System.Threading.Tasks.Task<long> GetDirectoryFromDevice(string serverDirectory, string clientDirectory, bool getFromContainer=false);

Parameters

serverDirectory System.String
Path on device running Factory Orchestrator Service to the folder to copy.

clientDirectory System.String
Path on client PC where the folder will be saved.

getFromContainer System.Boolean
If true, get the file from the container running on the connected device.

Returns

System.Threading.Tasks.Task<System.Int64>