internet programming in C## DotNet - 窗口里的风景
L*r
1 楼
1. WebClient
Simple class to handle many protocols. Easy to use. No Authentication.
useful methods:
OpenRead: return stream. useful. especially when you want to put it to an
image object.
DownloadFile:
2. WebRequest:
Edelweiss gave us an example. :)
sort of Create -> GetResponse -> GetResponseStream(WebResponse class)
3. Uri and UriBuilder: parse and build Uri.
4. IPAddess and Dns
5. Socket, NetworkStream: you can build your own socket server using them.
6. TCPClient, TCPListner, UdpClient...: t
Simple class to handle many protocols. Easy to use. No Authentication.
useful methods:
OpenRead: return stream. useful. especially when you want to put it to an
image object.
DownloadFile:
2. WebRequest:
Edelweiss gave us an example. :)
sort of Create -> GetResponse -> GetResponseStream(WebResponse class)
3. Uri and UriBuilder: parse and build Uri.
4. IPAddess and Dns
5. Socket, NetworkStream: you can build your own socket server using them.
6. TCPClient, TCPListner, UdpClient...: t