SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

Commands Property

Specifies the list of commands to execute.

Syntax

ANSI (Cross Platform)
char* GetCommands();
int SetCommands(const char* lpszCommands); Unicode (Windows) LPWSTR GetCommands();
INT SetCommands(LPCWSTR lpszCommands);
@property (nonatomic,readwrite,assign,getter=commands,setter=setCommands:) NSString* commands;
- (NSString*)commands;
- (void)setCommands:(NSString*)newCommands;
#define PID_SSHCLIENT_COMMANDS 3

SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SSHClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SSHClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Use this property to provide a list of commands to execute remotely. Separate different commands with EOL characters.

When this property is set, the component works in the command mode, meaning each command is executed in its own virtual terminal session. No shell connection is established.

If no commands are provided via this property, the component will establish a shell session.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 C++ Edition - Version 20.0 [Build 8166]