Method CreatePackage
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
CreatePackage(string)
Creates the application package and stores it in the specified destination file path.
string CreatePackage(string destinationFilePath)
Parameters
destinationFilePath
stringThe destination file path.
Returns
- string
The content of the about file.
Remarks
Use the CreatePackage() method in case you want to create a package in memory.
Exceptions
- ArgumentNullException
destinationFilePath
is null.- InvalidOperationException
The specified path does not have a .dmapp extension.
- DirectoryNotFoundException
The directory specified in
destinationFilePath
does not exist.
CreatePackage()
Creates the application package and stores it in memory.
byte[] CreatePackage()
Returns
- byte[]
The package data.
Remarks
Use the CreatePackage(string) method in case you want to create a package in a file.