The System.Net.WebRequest.Create() method can be used for serveral protocols, not only HTTP. However, I am only using it for HTTP request and thus always cast the returning object to an HttpWebRequest to be able to access the members specific to this class/protocol.
/joakim On Thu, 15 Jan 2004 18:34:07 -0500, Stephen Johnston <[EMAIL PROTECTED]> wrote: >What is this line? > >objRequest = (HttpWebRequest) > >That looks weird to me..... am I missing something? > >-Stephen Johnston > =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
