Table of Contents

Method AddOrUpdateFile

Namespace
Skyline.AppInstaller.Helpers
Assembly
Skyline.DataMiner.Core.AppPackageInstaller.dll

AddOrUpdateFile(string, byte[])

Adds the specified file.

public bool AddOrUpdateFile(string destinationFilePath, byte[] byteArray)

Parameters

destinationFilePath string

The destination file path.

byteArray byte[]

The file content.

Returns

bool

true if the file was added or updated; otherwise, false.

Exceptions

DataMinerException

Exception occurred while copying the file.