ICameoSdkStartupAsync Method |  |
Namespace: Bosch.Vms.CameoSdkAssembly: Bosch.Vms.CameoSdk (in Bosch.Vms.CameoSdk.dll) Version: 1.6.0.0
Syntaxvoid 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| Exception | Condition |
|---|
| CameoSdkException | SDK 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.
var cameoSdk = EntryPoint.GetSdk(Parameters);
cameoSdk.Startup("ssh://127.0.0.1:5322", "user", "password", StartupMode.LocalConfiguration);
See Also