ICQ


Logon

Make logon on ICQ server

Call Method
[C#]
    Logon (String NotificationID, String UIN, String Password)
Parameters
   NotificationID
         Notification ID
   UIN
         Sender UIN number
   Password
         Sender Password
C# Example Switch to language: [VB.NET]
  //Create personalizer object and Session object
  PersonalizerRef.Personalizer pers = new PersonalizerRef.Personalizer() ;
  SessionRef.Session sess = new SessionRef.Session() ;
  string SessionID = "";
  try{
      SessionID = pers.CreateSession("LogonName", "Password");
      //Create ICQ notification
      ICQRef.ICQ objICQ = new ICQRef.ICQ() ;
      //Create server notification object
      string ICQNotifID;
      ICQNotifID = sess.CreateICQNotification(SessionID);
      objICQ.Logon(ICQNotifID, "012345", "Password");
      objICQ.Send(ICQNotifID, "543210", "This is ICQ Notification Message");
      objICQ.SendURL(ICQNotifID, "543210", "www.acrosscommunications.com", "Take a look at my site");
      objICQ.Disconnect(ICQNotifID);
      objICQ.Release(ICQNotifID);
      sess.Release(SessionID);
  }
  catch(Exception e){
      //Print exception message e.Message
      sess.Release(SessionID);
  }