src/Azos.Web.Social/Social/SocialNetwork.cs
/// <summary>
/// Returns user profile image data along with content type or null if no image available.
/// Picture kind specifies classification of pictures within profile i.e. "main", "small-icon" etc.
/// </summary>
Returns user profile image data along with content type or null if no image available.
Picture kind specifies classification of pictures within profile i.e. "main", "small-icon" etc.
Returns user profile image data along with content type or null if no image available . Picture kind specifies classification of pictures within profile i . e . " main " " small - icon " etc .
public virtual byte[] GetPictureData(SocialUserInfo userInfo, out string contentType, string pictureKind = null)
        {
          contentType = string.Empty;
          if (userInfo.PictureLink.IsNullOrWhiteSpace()) return null;
          return WebClient.GetData(userInfo.PictureLink, new WebClient.RequestParams(this), out contentType);
        }
public virtual byte [ ] GetPictureData ( SocialUserInfo userInfo , out string contentType , string pictureKind = null ) { contentType = string . Empty ; if ( userInfo . PictureLink . IsNullOrWhiteSpace ( ) ) return null ; return WebClient . GetData ( userInfo . PictureLink , new WebClient . RequestParams ( this ) , out contentType ) ; }
Returns user profile image data along with content type or null if no image available.
Returns user profile image data along with content type or null if no image available .
userInfo
SocialUserInfo
string
out
pictureKind
string