0

When you click RMB on project, go to properties, you can set icon&manifest for the project.

In the project code I would like to open a stream to read that icon data. How to do this?

I don't want to adding that icon again manually in resources, besides I have trouble opening stream for it as well ;-).

greenoldman
  • 16,895
  • 26
  • 119
  • 185

1 Answers1

0
Icon appIcon = Icon.ExtractAssociatedIcon(Assembly.GetExecutingAssembly().Location);
Mauro Sampietro
  • 2,739
  • 1
  • 24
  • 50