AvatarInfoProviderUploadAvatar Method (AvatarInfo, HttpPostedFile, Int32, Int32, Int32) |
Note: This API is now obsolete.
Namespace: CMS.Membership
[ObsoleteAttribute("Use 'CMS.Membership.AvatarInfoProvider.UploadAvatar(CMS.Membership.AvatarInfo, CMS.Base.IUploadedFile, System.Int32, System.In32, System.In32)' instead. You can use the 'CMS.Base.UploadExtensions.ToUploadedFile' extensions method for converting 'System.Web.HttpPostedFile' to the 'CMS.Base.IUploadedFile'.")] public static void UploadAvatar( AvatarInfo ai, HttpPostedFile postedFile, int maxWidth, int maxHeight, int maxSideSize )