Tag: C#

InProgramming
Downloading files programmatically is a common task that most programming languages expose different APIs for. I believe it is useful to have examples to refer to for how to accomplish this in your language of choice, both synchronously and asynchronously. This article covers how to download files with C# using the classes and methods that…
InProgramming
As software developers, working with processes is something that we frequently need to do. Whether it’s checking if a specific process is running, stopping a process, or creating a new process, it is useful to have a reference point for how to accomplish each of these tasks. In the sections below, I’m going to cover…
InSecurity
Sometimes when you are developing a Windows app you’ll find the need to run the application as a different user, often as the administrator. Windows features a security mechanism called ‘User Account Control’ which prevents applications from launching with elevated privileges without the user’s consent. In this article, I explain how User Account Control works…