Top "System.net" questions

System.

Access system.net settings from app.config programmatically in C#

I am trying to programmatically access a Windows application app.config file. In particular, I am trying to access the "…

c# system.net
System.Net.Mail reference does not exist

I have a problem creating application to send email. I already have one working as a Windows Forms Application and …

c# winforms system.net.mail system.net
How to request only the HTTP header with C#?

I want to check if the URL of a large file exists. I'm using the code below but it is …

c# .net httpwebrequest system.net
Json.Net - Error getting value from 'ScopeId' on 'System.Net.IPAddress'

I am trying to serialize an IPEndpoint object with Json.Net and I get the following error: Error getting value …

c# .net json.net system.net
How to download a file with Powershell System.Net.WebClient and custom user-agent string?

I am running the following command to download a file using the Powershell System.Net.WebClient method: powershell -Command "(New-Object …

powershell http batch-file user-agent system.net
.NET: WebBrowser, WebClient, WebRequest, HTTPWebRequest... ARGH!

In the System.Net namespace, there are very many different classes with similar names, such as: WebBrowser and WebClient WebRequest …

c# .net system.net
HttpWebRequest.UserAgent : What does it do

I read this MSDN like about it and ran its example. http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.…

.net httpwebrequest system.net user-agent
Get IE's default proxy with DefaultWebProxy

I've read through pretty much all the documentation I can find but I'm yet to find a simple working example …

c# proxy system.net system.net.httpwebrequest
System.Net.WebClient fails weirdly

I am trying to download some data from the reporting services instance on our TFS server. Given that the code …

c# webclient system.net
Is it possible to convert between Socket and TcpClient objects?

Here's another C#/.NET question based merely on curiousity more than an immediate need ... If you had a Socket instance …

c# .net sockets tcpclient system.net