Method CreatePackage
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
CreatePackage(string)
Creates the protocol package and saves it to the specified destination file path.
void CreatePackage(string destinationFilePath)
Parameters
destinationFilePath
stringThe destination file path.
Remarks
Use the CreatePackage() method in case you want an in memory representation of the package.
Exceptions
- ArgumentNullException
destinationFilePath
is null.- InvalidOperationException
The specified file path does not have a .dmprotocol extension.
CreatePackage()
Creates the protocol package and returns a byte array containing the package.
byte[] CreatePackage()
Returns
- byte[]
The package.
Remarks
Use the CreatePackage(string) method in case you want to create a package file.