[Mono-devel-list] Can one "hook" API functions?

Martin C.Atkins martin at parvat.com
Wed Jan 28 06:54:09 EST 2004

Hello All,

(I hope this is the right place to send this question, since I'm new
to this list.)

I've searched around, but not found an answer to this...

Is there any way in Mono, and hopefully a standard way that will
also work on MS .NET, to "hook" system functions/classes?

To be more specific, I want to replace the File and Directory
Open/Close/Read/Write classes and methods with my own ones that
augment the behaviour of the standard routines, and are transparently
available to all programs, old and new, that previously used the
standard implementations.

I would need to be able to call the old classes/methods from my new
ones - the new ones would mostly be 'wrappers'.

I'm sure I read about this somewhere in a discussion about versioning,
but I can't find it again! Any pointers would be very useful!

Thanks in advance.

Martin C. Atkins			martin at parvat.com
Parvat Infotech Private Limited		http://www.parvat.com{/,/martin}

More information about the Mono-devel-list mailing list