Bug 13466 - System.Net.HttpWebRequest.CachePolicy is no longer available
Summary: System.Net.HttpWebRequest.CachePolicy is no longer available
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.8.x
Hardware: PC Mac OS
: Highest normal
Target Milestone: 4.8.x (post async)
Assignee: Marek Safar
: 13465 ()
Depends on:
Reported: 2013-07-25 05:41 UTC by Prashant Cholachagudda
Modified: 2013-08-23 12:20 UTC (History)
7 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Prashant Cholachagudda 2013-07-25 05:41:31 UTC
The System.Net.HttpWebRequest.CachePolicy is no longer available in latest X.iOS and XA
, breaks the previous applications using the CachePolicy property.
Comment 2 Prashant Cholachagudda 2013-07-25 05:42:15 UTC
*** Bug 13465 has been marked as a duplicate of this bug. ***
Comment 3 Prashant Cholachagudda 2013-07-25 05:42:48 UTC
*** Bug 13465 has been marked as a duplicate of this bug. ***
Comment 5 davidwinchurch 2013-07-25 05:52:43 UTC
Code in question is similar to:

var noCachePolicy = new HttpRequestCachePolicy(HttpRequestCacheLevel.NoCacheNoStore);
request.CachePolicy = noCachePolicy;

And is in the Lightstreamer .NET client dll which is attached.
Comment 6 stephen.allred 2013-07-25 06:04:03 UTC
The property is used within a 3rd party library that we need to use with our app. As such we cannot upgrade to latest Xamarin versions.
Comment 7 Rodrigo Kumpera 2013-07-25 10:40:19 UTC
Marek, you took it out. Bring it back, please. :)
Comment 8 Jonathan Pryor 2013-07-25 12:16:47 UTC
Fixed in mono/b69d8334 and Fixed in monodroid/fbfec206.
Comment 10 Saurabh 2013-08-23 12:20:12 UTC
We have check this issue with X.Android 4.8.02054. Now we get ' System.Net.HttpWebRequest.CachePolicy'.


Mac OSX 10.9/ 10.7.5
Mono 3.2.2 ((no/a0fc6ba)
XS 4.1.9(build 6)
X.Android 4.8.02054


Hence, verifying this issue.