How to Use GetStockIcon for WinForms in .NET 8Dec 18, 2024 Coding C# 12 .NET 8 WinFormsBuried deep in the list of .NET 8 improvements for WinForms is the GetStockIcon method. It gives us a way to access stock Windows icons at runtime for the OS the app is running on. Let’s check it out.