Embedded API: Getting assembly version via MonoAssemblyName

Jonathan Mitchell <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
HI

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?

Thanks

Jonathan














_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.