if we are talking about using the icon from an existing Reflector DLL function
http://www.red-gate.com/products/reflector/
to open the DLL and right-click on the icon with the right mouse button and click "Save As" this can also be done using code
Assembly myAssembly = Assembly.Load("SampleAssembly, Version=1.0.2004.0, Culture=neutral, PublicKeyToken=8744b20f8da049e3");
Stream myStream = myAssembly.GetManifestResourceStream( "MyNamespace.SubFolder.MyImage.bmp" );
Bitmap bmp = new Bitmap( myStream );
Best regards, Jordan
source
share