Media components. More info on web site https://stocksharp.com/store/
$ dotnet add package StockSharp.MediaMedia is a library of images and icons used across the StockSharp platform. It packs logos of various brokers and exchanges as embedded resources so that other StockSharp projects can easily display consistent visuals.
logos folder. Includes PNG and SVG files for dozens of trading venues.SLogo.png used in the main README and other places.The Media.csproj project is a .NET WindowsDesktop class library that exposes these files as resources. It is referenced by other solutions inside StockSharp to show broker/exchange logos and product banners.
MediaNames classA companion project Media.Names provides a static class MediaNames with constants for every file inside the logos folder. The class is generated at build time by the Media.Generator source generator. This allows you to refer to files by constant names instead of hard‑coding string literals.
using System.Reflection;
using System.IO;
// Example of reading a logo from resources
var asm = typeof(MediaNames).Assembly;
using var stream = asm.GetManifestResourceStream($"StockSharp.Media.logos.{MediaNames.binance}");
The source generator runs automatically when you build Media.Names.csproj. If no logo files are present a diagnostic warning MEDIA001 is emitted.
To use the icons in your own project:
Media for the actual resources.Media.Names to get the generated constants. The build will require the .NET SDK with WindowsDesktop workload because Media.csproj uses Microsoft.NET.Sdk.WindowsDesktop.After referencing you can load any image via MediaNames constants as shown above.