Microsoft FactoryOrchestrator Client FactoryOrchestratorClient SendFile(string byte bool bool)
Microsoft.FactoryOrchestrator.Client
Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient
FactoryOrchestratorClient.SendFile(string, byte[], bool, bool) Method
Asynchronously Saves data to a file to the Service's computer. It is recommended you use FactoryOrchestratorClient::SendFileToDevice instead.
public System.Threading.Tasks.Task 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.
Returns
System.Threading.Tasks.Task
true if the file was sucessfully created.