Skip to content

Microsoft FactoryOrchestrator Core IFactoryOrchestratorService SendFile(string byte bool bool)

Microsoft.FactoryOrchestrator.Core

Microsoft.FactoryOrchestrator.Core.IFactoryOrchestratorService

IFactoryOrchestratorService.SendFile(string, byte[], bool, bool) Method

Saves data to a file to the Service's computer. It is recommended you use FactoryOrchestratorClient::SendFileToDevice instead.

void SendFile(string targetFilename, byte[] fileData, bool appendFile=false, bool sendToContainer=false);

Parameters

targetFilename System.String
The name of the file you want created on the Service's computer.

fileData System.Byte[]
The bytes you want saved to that file.

appendFile System.Boolean
If true, the file is appended to instead of overwritten.

sendToContainer System.Boolean
If true, send the file to the container running on the connected device.