ComponentPro UltimateFtp

      GetConnectionState Method

      See AlsoMembers Options: Show AllLanguage Filter: AllSend comments on this topic to ComponentPro
      Checks to see if the current connection is still active and returns error if any.

      Syntax

      public Exception GetConnectionState(
         out bool connected, 
         out int nativeErrorCode
      )

      Parameters

      connected
      Indicates whether the connection is still active.
      nativeErrorCode
      The output error code.

      Return Value

      The exception object if encounters any error.

      Framework

      .NET Compact Framework.NET Compact Framework

      Supported version: 2.0, 3.5, and 3.9
      Assembly: ComponentPro.Ftp.CF (in ComponentPro.Ftp.CF.dll)

      .NET Framework.NET Framework

      Supported version: 2.0, 3.0, 3.5, 4.0, 4.5.x, 4.6.x and later
      Assembly: ComponentPro.Ftp (in ComponentPro.Ftp.dll)

      Xamarin MacXamarin Mac

      Supported version: 2.0.x and later
      Assembly: ComponentPro.Ftp.Mac (in ComponentPro.Ftp.Mac.dll)

      See Also