Service Property
This property holds the channel type that was requested when opening the channel.
Syntax
ANSI (Cross Platform) char* GetService(int iSSHChannelId); Unicode (Windows) LPWSTR GetService(INT iSSHChannelId);
- (NSString*)service:(int)sSHChannelId;
#define PID_SSHDAEMON_SERVICE 7 IPWORKSSSH_EXTERNAL void* IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
This property holds the channel type that was requested when opening the channel. For instance "session" or "forwarded-tcpip".
The SSHChannelId parameter specifies the index of the item in the array. The size of the array is controlled by the SSHChannelCount property.
This property is read-only and not available at design time.
Data Type
String