Source/NFX.Web/Social/SocialNetwork.cs
/// <summary>
/// Returns user profile image 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 or null if no image available.
Picture kind specifies classification of pictures within profile i.e. "main", "small-icon" etc.
Returns user profile image or null if no image available . Picture kind specifies classification of pictures within profile i . e . " main " " small - icon " etc .
public System.Drawing.Image GetPicture(SocialUserInfo userInfo, out string contentType, string pictureKind = null)
        {
          var data = GetPictureData(userInfo, out contentType, pictureKind);
          if (data == null) return null;
          return System.Drawing.Image.FromStream(new System.IO.MemoryStream(data));
        }
public System . Drawing . Image GetPicture ( SocialUserInfo userInfo , out string contentType , string pictureKind = null ) { var data = GetPictureData ( userInfo , out contentType , pictureKind ) ; if ( data == null ) return null ; return System . Drawing . Image . FromStream ( new System . IO . MemoryStream ( data ) ) ; }
Returns user profile image or null if no image available.
Returns user profile image or null if no image available .
userInfo
SocialUserInfo
string
out
pictureKind
string