/// <summary> /// Sets a profile name and picture. /// </summary> /// <param name="member">member</param> /// <returns>profile</returns> public static Profile Profiles(UserMember member) { Profile name = new Profile { DisplayNameFirst = "Tycho", DisplayNameLast = "Nestoris" }; member.SetProfileBlocking(name); member.SetProfilePictureBlocking("image/jpeg", PICTURE); Profile profile = member.GetProfileBlocking(member.MemberId()); return(profile); }