Method GetImageUrlInAssembly
GetImageUrlInAssembly(Assembly, string?)
Gets image url for loading image resource from the specified assembly using "embres" protocol.
public static string GetImageUrlInAssembly(Assembly asm, string? name = null)
Parameters
asm
AssemblyAssembly to load image from.
name
stringImage name of relative path. Slash characters will be changed to '.'. Example: "ToolBarPng/Large\Calendar32.png" -> "ToolBarPng.Large.Calendar32.png".