コード例 #1
0
 public static extern int libssh2_channel_wait_eof(
     SshChannelHandle channel);
コード例 #2
0
 public static extern int libssh2_channel_process_startup(
     SshChannelHandle channel,
     [MarshalAs(UnmanagedType.LPStr)] string request,
     uint requestLength,
     [MarshalAs(UnmanagedType.LPStr)] string message,
     uint messageLength);
コード例 #3
0
 public static extern int libssh2_channel_write_ex(
     SshChannelHandle channel,
     int streamId,
     byte[] buffer,
     IntPtr bufferSize);
コード例 #4
0
 public static extern int libssh2_channel_close(
     SshChannelHandle channel);
コード例 #5
0
 public static extern int libssh2_channel_setenv_ex(
     SshChannelHandle channel,
     [MarshalAs(UnmanagedType.LPStr)] string variableName,
     uint variableNameLength,
     [MarshalAs(UnmanagedType.LPStr)] string variableValue,
     uint variableValueLength);
コード例 #6
0
 public static extern int libssh2_channel_request_pty_size_ex(
     SshChannelHandle channel,
     int width,
     int height,
     int widthPx,
     int heightPx);
コード例 #7
0
 public static extern int libssh2_channel_handle_extended_data2(
     SshChannelHandle channel,
     LIBSSH2_CHANNEL_EXTENDED_DATA mode);
コード例 #8
0
 public static extern int libssh2_channel_get_exit_status(
     SshChannelHandle channel);
コード例 #9
0
        //---------------------------------------------------------------------
        // Ctor.
        //---------------------------------------------------------------------

        internal SshSessionChannelBase(
            SshSession session,
            SshChannelHandle channelHandle)
            : base(session, channelHandle)
        {
        }
コード例 #10
0
        //---------------------------------------------------------------------
        // Ctor.
        //---------------------------------------------------------------------

        internal SshShellChannel(
            SshSession session,
            SshChannelHandle channelHandle)
            : base(session, channelHandle)
        {
        }