[Mono-list] Embedded API: Getting assembly version via MonoAssemblyName

Jonathan Mitchell jonathan at mugginsoft.com
Fri Mar 27 12:44:07 UTC 2015


I want to get the assembly version like so:

MONO_API uint16_t          mono_assembly_name_get_version     (MonoAssemblyName *aname,
						      uint16_t *minor, uint16_t *build, uint16_t *revision);

So I need MonoAssemblyName like so:
mono_assembly_fill_assembly_name(MonoImage *image, MonoAssemblyName *);

But MonoAssemblyName is opaque and cannot be statically allocated.
So how do I proceed?



More information about the Mono-list mailing list