There are some times when you need to get the disk information in your system, to check what’s happening, for inventory check, or even to know the free and available space. Getting…
Tag: Windows
No Code font tester in WPF
There are some times when we want to check all installed fonts in the system and test a phrase to check how does it show in the display at some size. There…
Managing installed apps in Windows with Winget
On the latest Build, a new thing was released, but went almost unnoticed: the new package manager, WinGet (https://github.com/microsoft/winget-cli). You may say “Another package manager ?”, and you are right: we already…
Using the Win32 Api in a C# program with C#/Win32
Introduction One of the interesting things that C#9 brought is the introduction of Code Generators. When compiling the code, the C# compiler can generate extra code and add it to your project,…
Modernizing your .NET app with WinUI3
In the last post I showed how to use Xaml Islands to modernize your .NET app. As you could see, there are a lot of steps and the procedure is a little…
Modernizing your .NET app with Xaml Islands
You have an app developed a long time ago and it’s showing its age. It’s time to modernize it, but rewrite isn’t an option: it’s too complicated to rewrite it and it’s…
Discover what is consuming your disk with NTFS structures
Introduction Some time ago, I wrote this post with this accompanying source code. It showed the way to use NTFS file structures to enumerate files and show the files that take more…
Parsing the command line for your application with System.CommandLine
A very common issue when dealing with console applications is to parse the command line. I am a huge fan of command line applications, especially when I want to add an operation…
Creating Sample Data for C#
One thing that I use a lot is sample data. Every article I write needs some data to explain the concepts, I need some data to see how it fits in my…
Super fast file enumeration with NTFS structures
Many times I need to enumerate the files in my disk or in a folder and subfolders, but that always has been slow. All the file enumeration techniques go through the disk…