RoboGetSessionPID | Method to get the value of the current Robo-FTP session's PID |
<< Click to Display Table of Contents >> Navigation: Robo-FTP User's Guide > Using Robo-FTP > Using COM/OLE to Control Robo-FTP > COM Methods >
|
Overview
Method to get the value of the current Robo-FTP session's process id (PID).
C++ Definition
long RoboGetSessionPID()
VB Definition
RoboGetSessionPID() As Long
C# Definition
long RoboGetSessionPID()
VB.NET Definition
RoboGetSessionPID() As Integer
Return Value
A positive numeric value indicating the process ID (PID) of the current Robo-FTP session, or a nonpositive numeric value indicating an error.
See COM/OLE Return Codes for a complete list of possible return values.
Remarks
The RoboStartSession() method must be called prior to calling RoboGetSessionPID().