Guest User

skype tool

a guest
Mar 3rd, 2016
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private List<string> Contacts = new List<string>();
  2. //Celui ci tout en haut au dessus de "Public Form1"
  3.  
  4. //Celui ci aucune importance
  5. public void getContacts(Skype skype)
  6. {
  7.             for (int index = 0; index < skype.HardwiredGroups.Count; ++index)
  8.             {if (skype.HardwiredGroups[index + 1].Type == TGroupType.grpAllFriends)
  9.                 {for (int count = skype.HardwiredGroups[index + 1].Users.Count; count > 0; --count)Contacts.Add(skype.HardwiredGroups[index + 1].Users[count].Handle);
  10.                 }
  11.             }
  12.             listBox1.DataSource = (object)this.Contacts;
  13.                  }
RAW Paste Data