How to copy SENC from NavBox
To read a SENC from the NavBox use NavBoxRESTClient SDK component and its INavBoxRESTClient interface that described in inc/datalayer/navbox_client/navbox_client_interface.h
To create a NavBoxRESTClient component use SDKCreateComponentInstance of kNavBoxRESTClientCID class id that defined in inc/datalayer/navbox_client/component_ids.h
To get access to the NavBox you need to initialize the component with a several required parameters.
In particular, you have to SetProperty of ISDKProperties interface that implements the NavBoxRESTClient component.

Set kNavBoxRESTClientProperty_Host which must specify a valid host address of the NavBox.
Set kNavBoxRESTClientProperty_SoftwareName which is the application name, its used only for logging logging purpose by the NavBox service but it must be provided.
Set kNavBoxRESTClientProperty_SoftwareVersion which is the application version, its also used only for logging purpose but must be provided.

The next two parameters require a more detailed explanation.
kNavBoxRESTClientProperty_ServerToken, its a string that identifies the NavBox, indicating to the NavBox that the application is aware of the security scheme and knows the NavBox details.
The NavBox token string is placed in the NavStick during synchronization with the NAVTOR back office. It can be found on the NavStick path //INFO/NAVTOR/Setup/NavBox/APICredentials 
Once obtained, the string could be saved in a secure way to a local drive for later use without requesting the NavStick. This can be done during the installation phase of the application.
If for some reason the NavStick is not available and the NavBox token has not been obtained, the only way to get it is by calling NAVTOR support.

kNavBoxRESTClientProperty_OEMToken is a string that released by NAVTOR for an OEM. It has to be passed to the NavBox during the initialization phase.
It is the OEM responsibility to store the OEM token in the its system in a way that prevents unauthorized use.
The NavBox in the system must be aware of the OEM token to recognize and grant the access.
The OEM token is uploaded from the NAVTOR Back Office during initialization for a specific system.

Once you get connected to the NavBox you may start using NavBox services.
Use INavBoxRESTClient interface method GetSENCFiles to get the list of SENC files that need to be copied to a local drive.
Use INavBoxRESTClient interface method GetSENCFileInfo to get complete information for a file from the list.
In the last step, use INavBoxRESTClient interface method OpenSENCFileStream to get the file stream to copy the file content.


