/// <summary> /// Shows how to update the profile image in an account /// </summary> /// <param name="twitterCtx">TwitterContext</param> static void UpdateProfileBanner(TwitterContext twitterCtx) { byte[] fileBytes = Utilities.GetFileBytes(@"..\..\images\WP_000003.jpg"); var user = twitterCtx.UpdateProfileBanner(fileBytes, "WP_000003.jpg", "jpg", 1252, 626, 0, 0); Console.WriteLine("User Image: " + user.ProfileBannerUrl); }