AddDocument(Engine, String, String, Byte[])

Adds or updates a file in the DataMiner Documents folder.

Declaration
public static AddDocumentResponseMessage AddDocument(Engine engine, string documentPath, string documentName, byte[] document)
Example
var document = File.ReadAllBytes("epic.dll");

SLNet.AddDocument(engine, @"DemoProtocol\New Folder", "epic.dll", document);
Result
AddDocumentResponseMessage
Type
Name
Description

engine

Interfaces with the DataMiner System from an Automation script.

documentPath

The DataMiner document path that file will be added/updated to.

documentName

The name of the document to add/update.

document

The byte[] of the document to be added/updated.

Last updated