StockSharp.Media 5.0.154

Prefix Reserved
dotnet add package StockSharp.Media --version 5.0.154
                    
NuGet\Install-Package StockSharp.Media -Version 5.0.154
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StockSharp.Media" Version="5.0.154" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Media" Version="5.0.154" />
                    
Directory.Packages.props
<PackageReference Include="StockSharp.Media" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StockSharp.Media --version 5.0.154
                    
#r "nuget: StockSharp.Media, 5.0.154"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package StockSharp.Media@5.0.154
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StockSharp.Media&version=5.0.154
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Media&version=5.0.154
                    
Install as a Cake Tool

StockSharp Media

Media 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.

Contents

  • Logos – located under the logos folder. Includes SVG files for dozens of trading venues.
  • Product banners – animated GIFs for applications such as Hydra, Terminal and Shell.
  • Application logoSLogo.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.

Generated MediaNames class

A 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.

Referencing

To use the icons in your own project:

  1. Add a reference to Media for the actual resources.
  2. Add a reference to 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.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on StockSharp.Media:

Package Downloads
StockSharp.Xaml

Misc graphical components. More info on web site https://stocksharp.com/store/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.154 176 8/19/2026
5.0.153 184 8/15/2026
5.0.152 160 8/11/2026
5.0.151 372 7/30/2026
5.0.150 165 7/28/2026
5.0.149 5,929 7/20/2025
5.0.148 367 7/20/2025
5.0.147 750 6/30/2025
5.0.146 1,075 5/14/2025
5.0.145 3,065 11/16/2024
5.0.144 1,136 9/18/2024
5.0.143 933 8/1/2024
5.0.142 745 6/23/2024
5.0.141 349 6/13/2024
5.0.140 548 5/13/2024
5.0.139 1,221 2/12/2024
5.0.138 415 1/31/2024
5.0.137 641 1/10/2024
5.0.136 893 11/28/2023
5.0.135 1,123 9/19/2023
Loading failed

Use the icon marks for Bloomberg and 5paisa Xstream
Replace the raster-in-SVG logos with real vectors