Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C#
Network 332 codes
Home
C#
Network
1 A POP3 e-mail checker
2 Accepts a pending connection request
3 Access the Internet
4 Acts as a client program to demonstrate the use of the NetworkStream class
5 Acts as a server program to demonstrate the use of the NetworkStream class
6 Adds the specified URI string with the specified access rights to the current WebPermission
7 Adds the specified URI with the specified access rights to the current WebPermission
8 Advanced Ping Program
9 Any IPAddress
10 Array To Html Breaked String
11 Assembles a series of key=value pairs as a URI-escaped query-string
12 Async Tcp Client
13 Async Tcp Server
14 Bad Broadcast
15 Bad Tcp Client
16 Bad Tcp Server
17 Bad Udp Client
18 Basic WebClient
19 Begins an asynchronous request for a Stream object to use to write data
20 Best Udp Client
21 Better Data Receiver
22 Better Data Sender
23 Better Udp Client
24 Binary Data Receiver
25 Binary Data Sender
26 Binary Udp Client
27 Binary Udp Server
28 Boolean value that indicates whether mutual authentication occurred
29 Broadcast IPAddress
30 Broadcst Sample
31 Build Query String
32 Build the DownloadString
33 Build the hash table of HTML entity references and encode Url
34 Chat Application
35 Check the ContentType
36 Checks if a given string is a valid IP address
37 Cisco Router
38 Combine URL
39 Convert HTML To Text
40 Convert to Query String from IDictionaryString, String
41 Converts a FontUnit to a size for the HTML FONT tag
42 Converts a specified character into its hexadecimal equivalent
43 Cookie Class manages cookies
44 Correctly encode a name for a URL
45 Create a new instance of the WebRequest class
46 Create a WebPermission class with the specified access rights for the specified URI regular expression
47 Create GetResponse from WebRequest
48 Create WebRequest instance for the specified URI scheme
49 Creates a copy of a WebPermission
50 Creates a JSON graph of all of the fields client-side data
51 Creating Socket Connections
52 Cryp Data Receiver
53 Cryp Data Sender
54 CryptoStream demo
55 DataContractJsonSerializer Demo
56 Determines the difference between two Uri instances
57 Determines whether a specified character is a valid hexadecimal digit
58 Determines whether the current WebPermission is a subset of the specified object
59 Determines whether the specified host name is a valid DNS name
60 Determines whether the specified scheme name is valid
61 Dictionary To Query String
62 Displays the resource specified
63 DNS Address Resolver
64 DNS Get Host By Name
65 DNS Name Resolution
66 DNS Reverse Lookup and Lookup
67 Download a web page in a thread
68 Download Data Test
69 Download File Test
70 Download String
71 Download text data from the specified URI
72 Downloads a web page from the Internet and returns a string
73 Downloads the file from FTP
74 Employee Client
75 Employee Server
76 Essentially creates a query string
77 Examine Cookies
78 Examine the headers
79 Exception Udp Client
80 Expand Relative Uri
81 Expand Uri
82 Fancy Mail Test
83 Fetches a web page
84 Find DNS Servers
85 Find DNS Servers from Registry
86 Find net Mask
87 Fixed Tcp Client
88 Fixed Tcp Server
89 FtpWebResponse GUI
90 Get Absolute Url For Local File
91 Get Available Socket Port
92 Get Current Ip Address
93 Get DNS Address Info
94 Get DNS Host Info
95 Get Dns Server
96 Get Host By Name, Get Host Name
97 Get Host Entry
98 Get Host IP Address
99 Get HTTP Request Headers
100 Get HTTP Response headers
101 Get Image Mime Type
102 Get IP address by query whatismyip com
103 Get IP address from notation (xxx xxx xxx xxx) or hostname
104 Get Links From HTML
105 Get Local IP Address
106 Get Mac Address
107 Get Mime Type From File Extension
108 Get Post ID From URL
109 Get Resolve Info
110 Get Subnet Mask
111 Get TCP stream
112 Get the description of a Enum value
113 Get Type As Html
114 Get Type Description From Mime Type
115 Get user IP from HttpContext
116 Get Web Text
117 Gets a canonical string representation for the specified Uri instance
118 Gets a collection of header name-value pairs associated with this request
119 Gets a local operating-system representation of a file name
120 Gets a value indicating whether the specified Uri is a file URI
121 Gets an array containing the path segments that make up the specified URI
122 Gets an array of header values stored in a header
123 Gets an unescaped host name that is safe to use for DNS resolution
124 Gets any query information included in the specified URI
125 Gets my local IP address (not necessarily external) and subnet mask
126 Gets or sets any query information included in the URI
127 Gets or sets the collection of header namevalue pairs associated with the request
128 Gets or sets the content length of data being received
129 Gets or sets the cookies associated with the request
130 Gets or sets the fragment portion of the URI
131 Gets or sets the network credentials that are sent to the host and used to authenticate the request
132 Gets or sets the network credentials used for authenticating the request with the Internet resource
133 Gets or sets the value of the Connection HTTP header
134 Gets the absolute path of the URI
135 Gets the absolute URI
136 Gets the AbsolutePath and Query properties separated by a question mark ()
137 Gets the decimal value of a hexadecimal digit
138 Gets the Domain Name System (DNS) host name or IP address and the port number for a server
139 Gets the escaped URI fragment
140 Gets the hash code for the URI
141 Gets the host component of this instance
142 Gets the original URI string that was passed to the Uri constructor
143 Gets the port number of this URI
144 Gets the scheme name for this URI
145 Gets the specified portion of a Uri instance
146 Gets the type of the host name specified in the URI
147 Gets the URI of the Internet resource associated with the request
148 Gets the URI of the Internet resource that actually responded to the request
149 Gets the user name, password, or other user-specific information associated with the specified URI
150 Gets whether the port value of the URI is the default for this scheme
151 Gets whether the specified Uri is a universal naming convention (UNC) path
152 Gets whether the specified Uri references the local host
153 Handle network exceptions
154 Html Utilities
155 HTML-encodes a string and returns the encoded string
156 HTTP error code
157 Http Get
158 HTTP put with user name and password
159 HttpChannel Math Server
160 Implements a multi-threaded Web proxy server
161 Implements a NetworkStream client 2
162 Implements a NetworkStream server
163 Indicates that the URI string was completely escaped before the Uri instance was created
164 Indicates whether to pre-authenticate the request
165 Initializes a new instance of the Uri class based on the specified base URI and relative URI string
166 Initializes a new instance of the Uri class with the specified URI
167 Initializes a new instance of the UriBuilder class with the specified scheme and host
168 Initializes a new instance of the UriBuilder class with the specified scheme, host, and port
169 Initializes a new instance of the UriBuilder class with the specified scheme, host, port number, and path
170 Initializes a new instance of the UriBuilder class with the specified scheme, host, port number, path and query string or fragment
171 Initializes a new instance of the WebPermission class with the specified access rights for the specified URI
172 Initializes a new WebRequest instance for the specified URI scheme
173 IP Address parse, lookup
174 IP Address To Number
175 IP Address To UInt 32
176 IP to Uint
177 IP to value
178 IPAddress
179 IPAddress AddressFamily
180 IPEndPoint sample
181 IPHostEntry HostName
182 Is Email
183 Is Internet Connection Available
184 Is Ip Address By Regular Expression
185 Is Link Valid
186 Is Relative Url
187 Is Rooted Url
188 Is Valid Email
189 Is Valid Email Address
190 IsLoopback IPAddress
191 JSON (JavaScript Object Notation) Utility Methods
192 Json String To Byte Array
193 Listening For Sockets
194 Loopback IPAddress
195 Mail Attach Test
196 Mail Test
197 Math Client
198 MiniCrawler
199 Multi Receive
200 Multi Send
201 Multicast Chat
202 My Web Client
203 Network Order Client
204 Network Order Server
205 Network Stream Tcp Client
206 NetworkCredential Cache Test
207 NetworkCredential test
208 NetworkInterface
209 New IPEndPoint(IPAddress Parse(127 0 0 1), 8888)
210 New Math Client
211 New Multi Send
212 New Socket
213 New Tcp Chat
214 None IPAddress
215 Odd Udp Client
216 Output webpage content
217 Parse an IPAddress
218 Parse Host String
219 Parse the query string in the URI into a KeyValuePair
220 Parses the value information from any INPUT tag in an HTML string where the name= attribute matched the tagID parameter
221 Performs online file transfer operations
222 Picky Tcp Client
223 Picky Tcp Listener
224 Ping a host
225 Ping and PingReply
226 Ping Success and Send
227 Provides a response from a Uniform Resource Identifier (URI)
228 Query Strings
229 Reading Web Pages
230 Receive Broadcast
231 Reconstructs a WebPermission from an XML encoding
232 Remove tags from a html string
233 Removes Json null objects from the serialized string and return a new string(Extention Method)
234 Removes the HTML whitespace
235 Removes the specified header from the collection
236 Retrieves the subdomain from the specified URL
237 Retry Udp Client
238 Returns a response to an Internet request
239 Returns a site relative HTTP path from a partial path starting out with a ~
240 Returns an enumeration of a single connect permissions held by this WebPermission
241 Returns the data stream from the Internet resource
242 Returns the logical intersection of two WebPermission instances
243 Returns the logical union between two instances of the WebPermission class
244 Returns the physical (MAC) address for the first usable network interface
245 Returns true if the IPEndPoint supplied is on the same subnet as this host
246 Sanitize any potentially dangerous tags from the provided raw HTML input using a whitelist based approach
247 Save web page from HttpWebResponse
248 Select Tcp Client
249 Select Tcp Server
250 Send Email
251 Send HTML Mail
252 Send Request By Post
253 Sends a MailMessage object using the SMTP settings
254 SerializesDeserializes source into a JSON string
255 Server Pool
256 Set the BaseAddress for WebClient
257 Sets the specified header to the specified value
258 Show Html Page in String with Process
259 Simple Ping
260 Simple SNMP
261 Simple Tcp Client
262 Simple Tcp Server
263 Simple Udp Client
264 Simple Udp Server
265 Smtp Send
266 SmtpClient
267 Socket Connect, Send
268 Socket Exception
269 Socket property
270 SocketPool encapsulates the list of PooledSockets against one specific host, and contains methods for acquiring or returning Poole
271 Specifies that the URI is a pointer to a file
272 Specifies that the URI is accessed through the File Transfer Protocol (FTP)
273 Specifies that the URI is accessed through the Gopher protocol
274 Specifies that the URI is accessed through the Hypertext Transfer Protocol (HTTP)
275 Specifies that the URI is accessed through the Secure Hypertext Transfer Protocol (HTTPS)
276 Specifies that the URI is an e-mail address and is accessed through the Simple Mail Transport Protocol (SMTP)
277 Specifies that the URI is an Internet news group and is accessed through the Network News Transport Protocol (NNTP)
278 Storessave an image from the web to disk
279 Stream Tcp Client
280 Stream Tcp Server
281 Strip HTML
282 Strips all HTML tags from the specified string
283 Submit a GET or POST request and returns the response as string
284 Success
285 Tcp Chat
286 Tcp Client Sample
287 Tcp Listener Sample
288 Tcp Poll Server
289 TcpListener Class
290 Test Udp Client
291 Test Udp Server
292 Tests whether the specified HTTP header can be set for the request
293 This method checks if there is a connection at all
294 Thread and socket
295 Threaded Tcp Server
296 Time out Udp Client
297 Trace Route
298 Try to parse the url, similar to int TryParse
299 Udp Client Multi Receive
300 Udp Client Multi Send
301 Udp Client Sample
302 Udp Server Sample
303 UInt32 To IP Address
304 Uri Class Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI
305 Uri UriSchemeNntp
306 Url Encode
307 Url Encode 2
308 Url Encode 3
309 URL Encoding
310 Url encoding (2)
311 Use LastModified
312 Use Uri
313 Use WebClient to download information into a file
314 Uses a TcpClient to handle HTTP
315 Uses the System Net NetworkInformation Ping class to send an ICMP ping to a specified host asynchronously
316 Uses WebRequest and WebResponse Tests use HTTP and the file protocol
317 Using CDO
318 Using DsmlDirectoryIdentifier
319 Using DsmlSoapHttpConnection
320 Validate Recaptcha
321 Var Tcp Client
322 Var Tcp Server
323 Web Client Open Read Test
324 Web Client Open Write Test
325 Web Client Response Headers Test
326 Web Client Upload Data Test 2
327 Web Client Upload Values Test
328 Web Downloader
329 Web Get
330 Web server
331 WebHeaderCollection Add Inserts the specified header into the collection
332 Write to a NetworkStream