internal void handleChallenge(MSNMessage message) { //<<< CHL 0 15570131571988941333\r\n //>>> QRY 1049 [email protected] 32\r\n8f2f5a91b72102cd28355e9fc9000d6e (no newline) //<<< QRY 1049\r\n String md = HashMD5(message.getData()[0] + "Q1P7W2E4J9R8U3S5"); controller.sendMessage(new MSNMessage("QRY " + MSNTrIDGenerator.NextID() + " [email protected] 32\r\n" + md)); }
private void controller_LoginStatusChanged(MSNEnumerations.LoginStatus newStatus) { if (newStatus == MSNEnumerations.LoginStatus.LOGGED_OUT) { reset(); } else if (newStatus == MSNEnumerations.LoginStatus.LOGGED_IN) { //send initial sync command controller.sendMessage(new MSNMessage("SYN " + MSNTrIDGenerator.NextID() + " " + versionID + "\r\n")); } }
internal void startConversation(List <String> usernames) { //XFR 15 SB\r\n try { int id = MSNTrIDGenerator.NextID(); newConversationContacts.Add(id.ToString(), usernames); controller.sendMessage(new MSNMessage("XFR " + id + " SB\r\n")); } catch (Exception) { Console.WriteLine("Error in MSNSwitchboardController.startConversation"); } }