May 24, 2013 11:27 AM
(This post was last modified: May 24, 2013 11:47 AM by #Enigma.)
This is a small tutorial on how to write a Skype Spammer and Contact Grabber using the SKYPE4COMLib. This is very basic but then again I've just started learning C#.
First you need to get the SKYPE4COMLib which can be found HERE
Next you need to open a new windows form and name it whatever, Then add the SKYPE4COMLib as a reference.
Next you want to add 1 Combo Box, 1 Text box, 3 Buttons, 1 Timer, 2 Labels, and 2 Buttons.
Rename your labels text to "Username:" and "Message:".
Rename your buttons to btnUsername, btnMessage, and btnContacts then change there text to Start, Stop, Get Contacts.
Set the text box to multiline by clicking the arrow right above the text box.
Arrange your GUI like so:
Spoiler (Click to View)
Next you will want to change your timers interval property to 1.
Double Click the Get Contacts Button and add this code,
What that snippet of code does is grabs the online handles of your skype friends list and lists them in your combo box for you to easily select and spam.
Now your going to double click the start button and add.
Then double click the stop button and add.
Finally double click your timer and add this code,
Your program will debug but you need to compile and open the program outside of Visual Studios or the program will not connect to your Skype.
All you need to do after that is simply click Get Contacts, Allow the access to Skype, Select the User and start spamming.
First you need to get the SKYPE4COMLib which can be found HERE
Next you need to open a new windows form and name it whatever, Then add the SKYPE4COMLib as a reference.
Next you want to add 1 Combo Box, 1 Text box, 3 Buttons, 1 Timer, 2 Labels, and 2 Buttons.
Rename your labels text to "Username:" and "Message:".
Rename your buttons to btnUsername, btnMessage, and btnContacts then change there text to Start, Stop, Get Contacts.
Set the text box to multiline by clicking the arrow right above the text box.
Arrange your GUI like so:
Spoiler (Click to View)
Next you will want to change your timers interval property to 1.
Double Click the Get Contacts Button and add this code,
Code
SKYPE4COMLib.Skype Skype = new SKYPE4COMLib.Skype();
Skype.Attach(7, false);
IEnumerable<SKYPE4COMLib.User> users = Skype.Friends.OfType<SKYPE4COMLib.User>();
users
.Where(u => u.OnlineStatus == TOnlineStatus.olsOnline)
.OrderBy(u => u.Handle)
.ToList()
.ForEach(u => comboBox1.Items.Add(u.Handle));What that snippet of code does is grabs the online handles of your skype friends list and lists them in your combo box for you to easily select and spam.
Now your going to double click the start button and add.
Code
timer1.Start();Then double click the stop button and add.
Code
timer1.Stop();Finally double click your timer and add this code,
Code
SKYPE4COMLib.Skype Skype = new SKYPE4COMLib.Skype();
Skype.SendMessage(comboBox1.Text, txtText.Text);All you need to do after that is simply click Get Contacts, Allow the access to Skype, Select the User and start spamming.


![[Image: 6582b4898781066c5df74869829dffa0.png]](https://gyazo.com/6582b4898781066c5df74869829dffa0.png)
