F
Figmo
OK, I give up. 4 hours of searching the web and I can't find any info
on this.
I have a C# app that issues an HttpWebRequest against a server that
does not follow the standard regarding CRLF in it's headers. It's
not my server. I have no control over it. So I need to add
"useUnsafeHeaderParsing" to the app.config file - which fixes my
problem fine on the desktop environment.
The problem is, I also have a mobile version of my app. And the
compact framework environment does not allow me to add an app.config
file to this project.
Some of my research yielded a way to programatically set this value
using
System.Net.Configuration.HttpWebRequestElement.UseUnsafeHeaderParsing.
But it appears that compact framework does not support the
System.Net.Configuration namespace.
Can anybody tell me the correct way to enable unsafe header parsing
from a Windows Mobile C# app using compact framework? This is the
last hurdle I have to complete this project.
-Figmo
on this.
I have a C# app that issues an HttpWebRequest against a server that
does not follow the standard regarding CRLF in it's headers. It's
not my server. I have no control over it. So I need to add
"useUnsafeHeaderParsing" to the app.config file - which fixes my
problem fine on the desktop environment.
The problem is, I also have a mobile version of my app. And the
compact framework environment does not allow me to add an app.config
file to this project.
Some of my research yielded a way to programatically set this value
using
System.Net.Configuration.HttpWebRequestElement.UseUnsafeHeaderParsing.
But it appears that compact framework does not support the
System.Net.Configuration namespace.
Can anybody tell me the correct way to enable unsafe header parsing
from a Windows Mobile C# app using compact framework? This is the
last hurdle I have to complete this project.
-Figmo