ApiCore.Photos.PhotosFactory.GetUploadServer C# (CSharp) Метод

GetUploadServer() публичный Метод

public GetUploadServer ( int albumId, int groupId, bool saveBig ) : PhotoUploadInfo
albumId int
groupId int
saveBig bool
Результат PhotoUploadInfo
        public PhotoUploadInfo GetUploadServer(int albumId, int? groupId, bool saveBig)
        {
            this.Manager.Method("photos.getUploadServer");
            this.Manager.Params("save_big", saveBig);
            if (groupId != null)
            {
                this.Manager.Params("gid", groupId);
            }

            XmlNode result = this.Manager.Execute().GetResponseXml();
            if (this.Manager.MethodSuccessed)
            {
                XmlUtils.UseNode(result);
                PhotoUploadInfo i = new PhotoUploadInfo();
                i.Url = XmlUtils.String("upload_url");
                i.AlbumId = XmlUtils.Int("aid");
                return i;
            }
            return null;
        }