NET SFTP Library
GetPortForwardingL Method






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : GetPortForwardingL Method
Returns a snapshot of the current local port forwarding configurations.
Syntax
'Declaration
 
Public Function GetPortForwardingL() As System.String()
'Usage
 
Dim instance As SFTP
Dim value() As System.String
 
value = instance.GetPortForwardingL()
public System.string[] GetPortForwardingL()
public function GetPortForwardingL(): System.array of String; 
public function GetPortForwardingL() : System.String[];
public: System.string*[]* GetPortForwardingL(); 
public:
System.array<String^>^ GetPortForwardingL(); 

Return Value

an array of strings, each describing one forwarding. Each string is of the form localport:remotehost:remoteport with the numbers in decimal representation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFTP Class
SFTP Members