In this video we build a real C# WinForms app that reads, writes, and deletes values from the Windows Registry — no third-party libraries, just pure .NET code using the Microsoft.Win32 namespace.
By the end you will have a working Registry Manager app and a solid understanding of one of the most powerful and underused features in Windows development.
What you will learn:
✅ How the Windows Registry is structured (hives, keys, values)
✅ Reading registry values with Registry.CurrentUser.OpenSubKey
✅ Writing new keys and values with CreateSubKey and SetValue
✅ Deleting a single value with DeleteValue
✅ Deleting an entire key with DeleteSubKey and DeleteSubKeyTree
✅ The difference between read-only and writable access (the "true" parameter)
✅ Bonus: how to make your app launch at Windows startup automatically
🔔 Subscribe for more C# and WinForms content every week.
This video is part of the "Code That Feels Illegal — C# Windows Hacks & Hidden Powers" series.
#CSharp #WindowsRegistry #WinForms #DotNet #WindowsDevelopment
☕ Buy me a Coffee (Channel Support through Donation)
https://www.paypal.com/donate/?hosted...
▬ About this Channel ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
My goal is to make your life easier, specifically when it comes to learning software development.
With this channel I would like to share my knowledge of what I have learned in the last 10 years professionally as well as in private in the programming world with you.
I will focus mostly on C# and Unity. With some small side trips to SQL and API's.
A channel dedicated to programming, technology and game development tutorials.
#Assharpdev
▬ Some Helpful Stuff▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
📚 Recommended C# Learning Resources
English Books
• Head First C# → https://amzn.to/4n2qIXU
• C# 14 and .NET 10 – Modern Cross-Platform Development → https://amzn.to/42a8jyW
German Books
• Einstieg in C# mit Visual Studio 2026 → https://amzn.to/4uqkyU1
• C# von Kopf bis Fuß → https://amzn.to/4n2qIXU
________________________________________
☕ Developer Essentials
• Philips Serie 5500 Kaffeevollautomat → https://amzn.to/4d5io5d
Because every great developer runs on coffee 😉
________________________________________
💡 Support the Channel
The links above are affiliate links.
If you buy through them, you support the channel at no extra cost – thank you! 🙌
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬