{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Getrequeststream request is executed on getresponse

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ge/Reponse Full cookie support for HTTP I/O and Networking Request and Response Classes System.Net.WebRequest class Base class for network request/response protocols Base class for HttpWebRequest Create requests through WebRequest.Create() Plug in new protocol handlers with RegisterPrefix() HttpWebRequest natively supports HTTP and HTTPS HttpWebRequest Request can be populated through stream WebRequest.GetRequestStream() Request is executed on GetResponse() Data through WebResponse.GetReponseStream() 29 I/O and Networking System.Net.HttpWebRequest HttpWebRequest HttpWReq = (HttpWebRequest)WebRequest.Create( "http://www.cnn.com"); HttpWebResponse HttpWResp = (HttpWebResponse)HttpWReq.GetResponse(); Outline Introduction System Namespace Collection Classes I/O and Networking Threading and Synchronization Transactions Exceptions 30 Threading and Synchronization Process control Threading support Synchronization Threading Process System.Diagnostics.Process class Allows creating/monitoring other processes Monitoring: All Task Manager statistics accessible Process.Start() equivalent to Win32 ShellExecute Arguments are set via ProcessStartInfo class 31 Threading System.Threading.Thread Every .NET application is fully multi-threaded No more haggling with threading models Tra...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online