ICameraManagerExportNative(Camera, DateTime, DateTime, String, String, String) Method |  |
Note: This API is now obsolete.
Starts an export of audio and video data for specified cameras. The data is stored in native format
that can be viewed with the client application or the Export Player.
All export files will be encrypted using encryptionPassword.
Namespace: Bosch.Vms.SDKAssembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax[ObsoleteAttribute("Please use ExportRecordings with Native export-format.")]
void ExportNative(
Camera[] cameras,
DateTime from,
DateTime to,
string targetDirectory,
string name,
string encryptionPassword
)Parameters
- cameras Camera
- Array with all the cameras that shall be exported.
- from DateTime
- Start date of the data to backup. Converts the value of the current DateTime object to UTC if required.
The DateTime value is determined by the Kind property of the current DateTime object. If the Kind property is set to Undefined
then the current DateTime object is assumed to be a local time, and the conversion is performed as if Kind were Local.
- to DateTime
- End date until the data shall be backed up. Converts the value of the current DateTime object to UTC if required.
The DateTime value is determined by the Kind property of the current DateTime object. If the Kind property is set to Undefined
then the current DateTime object is assumed to be a local time, and the conversion is performed as if Kind were Local.
- targetDirectory String
- TargetDirectory where the backup files shall be placed. Supported
values are: paths on local hard drives, UNC path to network dives and CD/DVD writers
- name String
- Name that is assigned to the export and that is displayed when the
exported data is accessed.
- encryptionPassword String
- Password for video export encryption. If password is null or empty video export will be unencrypted.
Exceptions| Exception | Condition |
|---|
| SdkException |
Thrown in case of any errors occurred during export process.
For example:
- Export target directory is not whitelisted.
|
RemarksIn environment with multiple time zones use only UTC time.
Tip |
|---|
The method uses "accept known good" input validation strategy and ensures that requested targetDirectory is strictly within
a configured whitelist where exports are allowed.
Requested export path must met one of the following condition:
- Specified path directory is white-listed itself;
- Specified path directory is subdirectory of any white-listed directory;
- Specified path is within an optical disc device, such as a CD or DVD-ROM or within removable storage device, such as a floppy disk drive or a USB;
When none of the conditions above are met, requested export is rejected.
|
Tip |
|---|
|
Exports whitelist is defined by BVMS administrator on Central Server in ..\ProgramData\Bosch\VMS\ServerData\PathWhitelistForExports.txt.
|
See Also