Click here to Skip to main content
15,887,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to read a xml file with WPF and unkown amount of data Pin
Member 1413010726-Jan-19 12:22
Member 1413010726-Jan-19 12:22 
Questionc# Pin
Member 1412841524-Jan-19 0:36
Member 1412841524-Jan-19 0:36 
AnswerRe: c# Pin
Richard MacCutchan24-Jan-19 1:03
mveRichard MacCutchan24-Jan-19 1:03 
AnswerRe: c# Pin
Maciej Los24-Jan-19 2:45
mveMaciej Los24-Jan-19 2:45 
Questionpassing a file in to an Core 2.1 WebApi method Pin
Simon_Whale23-Jan-19 10:18
Simon_Whale23-Jan-19 10:18 
AnswerRe: passing a file in to an Core 2.1 WebApi method Pin
Richard Deeming23-Jan-19 11:31
mveRichard Deeming23-Jan-19 11:31 
GeneralRe: passing a file in to an Core 2.1 WebApi method Pin
Simon_Whale2-Feb-19 23:22
Simon_Whale2-Feb-19 23:22 
QuestionWhat is wrong with this code? Pin
nuno6921-Jan-19 9:42
nuno6921-Jan-19 9:42 
hello!
i am blind and I am trying to develop a simple SSH client which will help people like me with SSH coomunications.
I am using the Netssh library to achieve this. The following code seems to be faulty, because I get either no error or connection validation.
CODE:
using DavyKager;
using Renci.SshNet;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Mao_TTY
{
    
    public partial class DLGConnect : Form
    {
        public DLGConnect()
        {
            InitializeComponent();
        }

        private void DLGConnect_Load(object sender, EventArgs e)
        {
            Tolk.Load();
        }

        private void BTNConnect_Click(object sender, EventArgs e)
        {
           string Address = TXTHost.Text;
         string Port = TXTPort.Text;
        string UserName = TXTUserName.Text;
         string Password = TXTPassword.Text;
            int NumPort = Int32.Parse(Port);
        SshClient SSHObj = new SshClient(Address, NumPort, UserName, Password);
            SSHObj.Connect();
                if (!SSHObj.IsConnected)
            {
                MessageBox.Show("Wystąpił błąd połączenia z serwerem.\nSprawdź czy wszystkie wprowadzone dane są poprawne i spróbuj ponownie", "Błąd");
                    }
            }
        }
    }

AnswerRe: What is wrong with this code? Pin
Eddy Vluggen21-Jan-19 10:56
professionalEddy Vluggen21-Jan-19 10:56 
GeneralRe: What is wrong with this code? Pin
nuno6921-Jan-19 11:13
nuno6921-Jan-19 11:13 
GeneralRe: What is wrong with this code? Pin
Eddy Vluggen21-Jan-19 11:23
professionalEddy Vluggen21-Jan-19 11:23 
GeneralRe: What is wrong with this code? Pin
nuno6921-Jan-19 12:57
nuno6921-Jan-19 12:57 
GeneralRe: What is wrong with this code? Pin
Eddy Vluggen22-Jan-19 2:32
professionalEddy Vluggen22-Jan-19 2:32 
GeneralRe: What is wrong with this code? Pin
nuno6922-Jan-19 3:04
nuno6922-Jan-19 3:04 
GeneralRe: What is wrong with this code? Pin
Eddy Vluggen22-Jan-19 3:10
professionalEddy Vluggen22-Jan-19 3:10 
QuestionLooking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx21-Jan-19 8:10
professionaljkirkerx21-Jan-19 8:10 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
Mycroft Holmes21-Jan-19 13:11
professionalMycroft Holmes21-Jan-19 13:11 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx22-Jan-19 7:40
professionaljkirkerx22-Jan-19 7:40 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
mo149221-Jan-19 15:00
mo149221-Jan-19 15:00 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx22-Jan-19 7:43
professionaljkirkerx22-Jan-19 7:43 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
Wastedtalent23-Jan-19 23:53
professionalWastedtalent23-Jan-19 23:53 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx24-Jan-19 13:22
professionaljkirkerx24-Jan-19 13:22 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
LEADTOOLS Support24-Jan-19 7:28
sponsorLEADTOOLS Support24-Jan-19 7:28 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
Mycroft Holmes24-Jan-19 11:16
professionalMycroft Holmes24-Jan-19 11:16 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx24-Jan-19 13:26
professionaljkirkerx24-Jan-19 13:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.