Donate

How To Get Icon From Process In C#

If you want to convert to image, just cast it to a bitmap object.
Icon ico = Icon.ExtractAssociatedIcon(process.MainModule.FileName);
Source: Stack overflow

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

How To Insert Or Add Emojis In Microsoft Teams Status Message

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.