Adarsh's blog
Network programing and unified communications.
Browse by Tags
All Tags
»
.Net Frameworks 2.0
(RSS)
FtpWebRequest
General
HttpWebRequest
Net class library
Software Testing
SSL
UCMA
UC Managed API (UCMA) v1.0 beta available
02 April 07 11:58 AM
|
adarshk
|
16 Comments
I was eagerly waiting since a long time to write about this exciting news, With the public annonucement of OCS 2007 beta, now we have a managed API known as UCMA is publicly available. Before coming out with official name UCMA, we were internally calling
Read More...
You need to be careful about using event handler for NetworkChange
29 November 05 06:14 PM
|
adarshk
|
4 Comments
Actually the issue I am discussing here is in general true for any event handler. .net event handler are strong reference. In case of NetworkChange it become more important because both event handler on NetworkChange object are static handlers, so there
Read More...
Use object pooling of byte arrays to prevent heap fragmentation in socket applications
20 August 05 05:25 AM
|
adarshk
|
3 Comments
When you are worrking on managed socket application and your application is very extensively doing send/recieve on the socket, then probably you need to care about understanding the heap management. Socket.Recieve or Socket.Send finally need to call the
Read More...
WebException message vs. Response.StatusDescription on FtpWebRequest
04 May 05 12:38 AM
|
adarshk
|
1 Comments
Recently one of the reader asked an interesting question, he was using FtpWebRequest with MakeDirectory method, if directory already exist then application received the WebException with message. "The remote server returned an error: (550) File unavailable
Read More...
Using FtpWebRequest to do FTP over SSL
22 April 05 02:27 PM
|
adarshk
|
31 Comments
Use FtpWebRequest to do FTP over SSL.
Read More...
Use NetworkInformation classes to get the list of listening ports on your machine
14 March 05 12:01 PM
|
adarshk
|
5 Comments
.Net frameworks 2.0 have new addition of Namespace, System.Net.NetworkInformation, it provide a number of interesting classes to extract the network related statistics and state of the machine, it pretty much provide most of the functionality which is
Read More...
Update Windows Form UI with Network Available Change Event
16 December 04 07:06 PM
|
adarshk
|
6 Comments
.Net frameworks 2.0 has a new namespace System.Net.NetworkInformation, which you could use to gather various network statistics on the machine, it also provide two interesting events NetworkAddressChanged and NetworkAvailabilityChanged. If you are writing
Read More...
Does your application require customizing System.Net.WebPermission, SocketPermission or DnsPermission settings?
06 December 04 01:43 AM
|
adarshk
|
2 Comments
.Net frameworks comes with deefault security settings where components running under Intranet, Internet Zone can only have WebPermission to connect back to the server, from where they are downloaded. Also the component from Intranet zone and Internet
Read More...
Resuming broken file download with FtpWebRequest class
01 December 04 03:04 PM
|
adarshk
|
17 Comments
This post is valid for .Netframeworks 2.0 When we are downloading a large file from ftp site and connection got broken in between, on next attempt you would be interested in downloading the rest of the file content instead of full file. FtpWebRequest
Read More...
Create your own asp.net hosting server with System.Net.HttpListener
21 November 04 06:24 PM
|
adarshk
|
3 Comments
.Net frameworks 2.0 contain HttpListener class under System.Net namespace and a number of ASP.Net hosting classes under System.Web.Hosting namespace. HttpListener class is implemented on top of low level protocol stack http.sys, probably you also know
Read More...
Configure System.Net.HttpListener to listen for SSL
10 November 04 07:02 PM
|
adarshk
|
3 Comments
Whidbey contains cool class HttpListener under System.Net namespace, it allows you to create your your own HttpServer on top of HttpSys. Some of you aske about steps for configuring HttpListener to work with SSL. Basically you need to configure httpsys.
Read More...
C# sample to open command prompt for other than currently logged user
06 October 04 06:02 PM
|
adarshk
|
3 Comments
.Net frameworks 2.0 have some new cool managed APIs. Here is one sample. It is common need to run a process on a user account other than currently logged on user. Following is the simple handy code which I use to open a command prompt with amin previleges,
Read More...
Sample code for parsing FtpwebRequest response for ListDirectoryDetails
15 September 04 05:33 PM
|
adarshk
|
18 Comments
This posting is valid for .Net frameworks 2.0 (Currently released as Whidbey Beta1) ResponseStream of FtpWebResponse provides the raw data bytes to the user, s ome of you had asked that it would be more useful to provide methods which return list of directory
Read More...
Understanding the basic of FtpWebRequest programming model on .Net frameworks
13 September 04 04:00 PM
|
adarshk
|
13 Comments
A long standing complain from user of .Net frameworks was that it doesn't have support for popular ftp protocol. This concern is going to addressed in .Net frameworks 2.0. Recently released Whidbey Beta-1 contains FtpWebRequest, FtpWebResponse classes
Read More...
Using SSL client certificate in WebRequest and WebServices without certificate installation
01 September 04 01:21 PM
|
adarshk
|
1 Comments
If you are using .Net frameworks 1.0 or 1.1, certificate must be installed on either User store or Machine Store. This posting is only valid for v2.0. In version 2.0 (Currently released Whidbey Beta1) user have option to use the certificate which contain
Read More...
Search
This Blog
Home
About
Email
Tags
.Net Frameworks 2.0
FtpWebRequest
General
HttpWebRequest
Net class library
SIP
Software Testing
SSL
UC
UCMA
Archives
April 2009 (1)
February 2009 (1)
October 2008 (1)
March 2008 (1)
June 2007 (2)
April 2007 (1)
March 2007 (1)
April 2006 (1)
December 2005 (1)
November 2005 (1)
August 2005 (1)
July 2005 (1)
May 2005 (1)
April 2005 (1)
March 2005 (1)
February 2005 (2)
January 2005 (2)
December 2004 (3)
November 2004 (3)
October 2004 (2)
September 2004 (3)
August 2004 (2)
July 2004 (1)
Other Interesting Blogs
Malarch's blog
Ferozed's blog
Joe Calev's UCMA blog
Syndication
RSS 2.0
Atom 1.0
Adarsh Khare works at Microsoft. Everything here, though, is his personal opinion and is not read or approved by Microsoft before it is posted. No warranties or other guarantees will be offered as to the quality of the opinions or anything else offered here.