I have to wonder whether you've even actually looked at the code that is in error. My guess is that you're trying to set Clientname property of your 'client' object. Look at your code and ask yourself if what you have written makes sense with that aim in mind. For a clue, take a look at how you're setting the ServerIp property of the same object on the next line. The difference between those two lines is rather obvious.
You've already posted the answer to your question, it's in your own screenshot here. Take a look at how you're setting the ServerIp property.
Also a side note, all of your form's control names are the defaults, which is one of the worst ways of naming them, you might want to consider more meaningful names.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.