HttpWebRequest.SupportsCookieContainer Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether the CookieContainer property is supported by the HttpWebRequest instance.
Assembly: System.Net (in System.Net.dll)
Property Value
Type: System.Booleantrue if the CookieContainer property is supported by the HttpWebRequest instance; otherwise, false.
The SupportsCookieContainer property can be used to determine if the CookieContainer property is supported without the need to handle an exception.
If an application implements a custom WebRequest class and does not override the CookieContainer property, then the NotImplementedException is thrown.
Version Notes
Windows Phone
This member is present to support the .NET Compact Framework infrastructure in Windows Phone.