system.net
Do we need to close the System.Net.WebRequest's ResponseStream?
I was wondering will I end up having any unclosed streams from this code: Public Function [Get](ByVal url As String) As String[详细]
2023-04-04 01:00 分类:问答How do I clear System.Net client DNS cache?
I\'m using the .NET WebRequest while changing my HOSTS file. I\'m observing that System.Net doesn\'t honor those changes - how can I make it do so?[详细]
2023-04-01 05:07 分类:问答verify cname record
If I have the following CNAME records set up: www.custom1.comCNAMEwww.myapp.com www.myapp.comCNAMEmyapp.cloudapp.net[详细]
2023-03-29 21:50 分类:问答Network port listener on c#
I\'m trying to listen the active ports on my network. I tried HttpListener, but I\'m not sure if this is the right listener. Any ideas or examples?[详细]
2023-03-29 02:05 分类:问答Getting '(400) Bad Request' with GetResponseStream() in C#
I am using the following code to send a get request to facebook graph api oauth server. public string GetAccessToken(string code)[详细]
2023-03-28 23:45 分类:问答NetworkInformationException when adding listener to NetworkAvailabilityChanged event
We recently started seeing this exception pop up during initialization: System.Net.NetworkInformation.NetworkInformationException: An operation was attempted on something that is not a socket[详细]
2023-03-28 02:17 分类:问答System.Net.IPAddress returning weird addresses
I am writing a (rather simple :) networking application, and am testing it using localhost:27488 (127.0.0.1:27488).[详细]
2023-03-25 20:12 分类:问答Explain the instance properties of System.Net.IPAddress
I\'m having a little trouble understanding the System.Net.IPAddress class, because I don\'t know where to look for a definition of what some of the properties are referring to.Specifically, what are:[详细]
2023-03-14 20:07 分类:问答socket.connect throw exception
I want to learn socket programming in C#, and related settings. I\'ve download a demo from a site. when i set Remote Host IP address to my local address it connect to server (my pc) and send receive w[详细]
2023-03-10 02:26 分类:问答How to detect public IP address (of router/gateway) change in .Net?
I am aware of the NetworkChange.NetworkAddressChanged event, but that is only for the local network interfaces.[详细]
2023-03-09 03:41 分类:问答