kythyria / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

messenger.Connected always returns true #268

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
messenger.Credentials = new Credentials("","");
messenger.Connect();
messenger.Nameserver.SignedIn += new EventHandler<System.EventArgs>(xxx);
if (messenger.Connected) btnSignIn.Enabled = false;

What is the expected output? What do you see instead?
if correct credentials input, i expect to see true... no?

What version of the product are you using? (MSNPSharp, OS, Mono etc.)
MSNPSharp 4.0 RC, Win7 64bit, VS2010, .net3.5

Is your code check out from SVN or download from our download site?
From your Downloads.

Please provide any additional information below:
no more

Original issue reported on code.google.com by DengXia...@gmail.com on 17 Apr 2011 at 1:51

GoogleCodeExporter commented 9 years ago
Once the socket connected to the server, it returns true. Messenger.Connected 
is NOT the indicator of your login status, please use 
Messenger.Nameserver.IsSignedIn instead.

Original comment by freezing...@gmail.com on 17 Apr 2011 at 7:17