Search code examples
c#c#-4.0skypeskype4com

Get Profile picture using SKYPE4COM


Is this possible to display my profile picture as well as my friends profile picture in a picturebox control?? Am using c# and SKYPE4COM. Any suggestions..


Solution

  • Try using a command:

    var cmd = new SKYPE4COMLib.Command();
    cmd.Command = string.Format("GET USER {0} AVATAR 1 {1}", userHandle, rootedPathFileName);
    var skype = new SKYPE4COMLib.Skype();
    skype.SendCommand(cmd);
    

    For more information see this link.