Browse by Tags
All Tags »
C# »
.NET (
RSS)
Yesterday, I came across a question in one of the .NET newsgroups asking how to get the IP address of the DNS servers available in the network. Though there is no direct way of getting this information (yet, at least to my knowledge) via .NET 2.0 class...
It is very common in Windows applications to store application-wide data such as database connection strings, application title and folder path,etc that should be available for the duration of the application instance. The general strategy for storing...
There was a question from an internal group asking for a way to programmatically change the log on name (and of course password) of a Windows service - this is the user account, local or domain, under which the service process runs when started. Unfortunately...
One of the features of the ASP.NET application that I am currently working on requires copying dynamically generated files to a network share path. As guessed(!), the user identity of the ASP.NET worker process (IIS application pool, in case of Windows...
One of the new diagnostics tools introduced in .NET 2.0 is the System.Diagnostics.StopWatch class. It lets you time your code with simplest profiling code possible! And I use this class very regularly during my development/desting. I use it especially...
I saw a newsgroup post today asking about programmatically (.NET way) switching Internet Explorer to offline mode (checking IE's File | Work Offline menu item). I posted a small C# code that accomplishes this to the newsgroup. Thought would make a blog...
The System.Diagnostics.Process class gives almost every data about a running process. But, the most-wanted information it doesn't give about a process is the process owner name. And I ran across a situation recently that asked for the same thing - here...
I was recently tasked with developing a utility for Tablet PC - this utility will let users sign using pen/ink and store the signature as an image file. Trust me, I have not even touched a tablet PC before (shameful!) and thinking about writing a utility...