Actually theres no way to do it in standard C# class librarys you have to do it from $com instead of $dll which requires the dll to be registered the the GAC if you would like i could show an example and give some tips on doing this just drop me a pm or hit me up on IRC irc.us.gamesurge.net #script
ive built many dlls that worked this way just 1 problem though the /comclose method in mIRC doesnt fully work on them for development it holds the object in memory and wont let you replace with a new version till mirc is restarted.