Click or drag to resize

ICameoSdkStartupAsync Method

Async analog of the Startup(String, String, String, StartupMode) method.
Completion of the method and result is notified by the StartupCompleted event.

Namespace: Bosch.Vms.CameoSdk
Assembly: Bosch.Vms.CameoSdk (in Bosch.Vms.CameoSdk.dll) Version: 1.6.0.0
Syntax
C#
void StartupAsync(
	string serverAddress,
	string user,
	string password,
	StartupMode startupMode
)

Parameters

serverAddress  String
IP address of BVMS server.
user  String
Log on name.
password  String
Password.
startupMode  StartupMode
Defines a startup mode. See StartupMode enumeration for details.
Exceptions
ExceptionCondition
CameoSdkExceptionSDK is already started, starting is in progress or in cases of a usage error, execution error or program error.
Remarks
The LocalConfiguration value of the startupMode parameter is invalid for a 'ssh' connection. In this mode, no connection to the server is established, i.e. no ssh tunnel is set up. Without an ssh tunnel, it is not possible to connect to any devices. For instance the following code throws a CameoSdkException.
C#
var cameoSdk = EntryPoint.GetSdk(Parameters);
cameoSdk.Startup("ssh://127.0.0.1:5322", "user", "password", StartupMode.LocalConfiguration);
See Also