Image Manipulation

Images are the component of assemblies that actually hold the CIL code and metadata in the extended PE/COFF file.

Synopsis

#include <metadata/image.h> typedef struct _MonoImage MonoImage; typedef enum { MONO_IMAGE_OK, MONO_IMAGE_ERROR_ERRNO, MONO_IMAGE_MISSING_ASSEMBLYREF, MONO_IMAGE_IMAGE_INVALID } MonoImageOpenStatus; @API_IDX@

Image APIs

Images are the actual elements in the runtime that contain the actual code being executed.

Opening and closing MonoImages

mono_image_open

mono_image_open_full

mono_image_open_from_data

mono_image_open_from_data_full

mono_image_close

mono_image_addref

mono_image_load_file_for_image

mono_image_open_from_data_with_name

mono_image_load_module

Image Information

mono_image_get_guid

mono_image_get_assembly

mono_image_get_entry_point

mono_image_get_filename

mono_image_get_name

mono_image_get_resource

mono_image_get_table_info

mono_image_get_table_rows

mono_image_is_dynamic

mono_image_loaded_by_guid

mono_image_loaded

mono_image_lookup_resource

mono_image_strerror

mono_get_method_constrained

Public Keys, Strong Names and Certificates

mono_image_strong_name_position

mono_image_get_public_key

mono_image_get_strong_name

mono_image_has_authenticode_entry

Low-level features

mono_image_rva_map

mono_image_ensure_section_idx

mono_image_ensure_section

mono_image_init

mono_images_init

mono_images_cleanup

mono_image_add_to_name_cache

mono_image_fixup_vtable

mono_image_loaded_by_guid_full

mono_image_loaded_full

mono_lookup_icall_symbol