XamlImageInfo
gadget
Gadget leads to XAML deserialization. Variant 1 (GAC) reads XAML from file (local path or UNC path can be given). Variant 2 (non-GAC) delivers XAML directly, but requires Microsoft.Web.Deployment.dll
Declared metadata, not a runtime result. How to read evidence.
.\ysonet.exe -g XamlImageInfo -hTarget declarations
| Variant | Formatters | Inputs | Requirements | Runtime tokens |
|---|---|---|---|---|
| 1 | Json.NET | local-file, unc-path | built-in, wpf, net-framework | unspecified |
| 2 | Json.NET | command | extra-assembly, wpf, net-framework | unspecified |
Variants
- 1: LazyFileStream - reads XAML from a file path (default, GAC) (default)
- 2: ReadOnlyStreamFromStrings - takes a shell command (non-GAC)
Options (1)
| Option | Help | Default | Required |
|---|---|---|---|
var|variant= | Variant number. Variant defines a different Stream delivery class. Choices: 1 (default and GAC) - LazyFileStream for Stream delivery, file path has to be provided for -c argument (UNC or local) 2 (non-GAC, requires Microsoft.Web.Deployment.dll) - ReadOnlyStreamFromStrings for Stream delivery, command to execute can be provided for -c argument Default value: "1". Suggested values: 1, 2. | 1 | false |
Credit: [Finders: Piotr Bazydlo]