Well, I found a way around what I needed to accomplish. I had a bad brain blockage this week. I was attempting to do this:
Dim objRequest as HttpWebRequest
Dim stmOutput as StreamReader
objRequest = (CType(HttpContext.Current.Request, HttpWebRequest))
stmOutput = New StreamReader(objRequest.GetRequestStream(),System.Text.Encoding.ASCII)
I then realized I didn't have to do that. So, to get my Stream, I just grabbed the InputStream like this:
Dim stmOutput as StreamReader
stmOutput = New StreamReader(HttpContext.Current.Request.InputStream)
Thanks to Ben for forcing me to think this through. ;)
Jason N. Gaylord
ASPInsider and Microsoft MVP
http://jasongaylord.com