{
URI url = simulator.Caps.CapabilityURI("ParcelPropertiesUpdate");
if (url != null)
{
ParcelPropertiesUpdateMessage req = new ParcelPropertiesUpdateMessage();
req.AuthBuyerID = this.AuthBuyerID;
req.Category = this.Category;
req.Desc = this.Desc;
req.GroupID = this.GroupID;
req.Landing = this.Landing;
req.LocalID = this.LocalID;
req.MediaAutoScale = this.Media.MediaAutoScale;
req.MediaDesc = this.Media.MediaDesc;
req.MediaHeight = this.Media.MediaHeight;
req.MediaID = this.Media.MediaID;
req.MediaLoop = this.Media.MediaLoop;
req.MediaType = this.Media.MediaType;
req.MediaURL = this.Media.MediaURL;
req.MediaWidth = this.Media.MediaWidth;
req.MusicURL = this.MusicURL;
req.Name = this.Name;
req.ObscureMedia = this.ObscureMedia;
req.ObscureMusic = this.ObscureMusic;
req.parcelFlags = this.Flags;
req.PassHours = this.PassHours;
req.PassPrice = (long)this.PassPrice;
req.SalePrice = (long)this.SalePrice;
req.SnapshotID = this.SnapshotID;
req.UserLocation = this.UserLocation;
req.UserLookAt = this.UserLookAt;
OSDMap body = req.Serialize();
CapsHttpClient capsPost = new CapsHttpClient(url);
capsPost.BeginGetResponse(body, OSDFormat.Xml, simulator.Client.settings.CAPS_TIMEOUT);
}
else