Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to get MSIL of a C# Delegate?

Tags:

c#

cil

Just out of curiosity ... is it possible to programmatically get the MSIL of a delegate? I'm curious because I've been toying with the idea of a distributed computing system where you can simply write programs, and the program itself would be distributed to each disparate node where work would occur. I know you could do it by copying the actual assembly over the network and loading that in an appdomain, but I think it would be really interesting to have a simpler model to work with.

thanks!

like image 592
Joel Martinez Avatar asked Dec 07 '25 06:12

Joel Martinez


1 Answers

How is copying an assembly to another machine and loading it in an appdomain any more complex than the solution you're thinking of?

like image 91
yfeldblum Avatar answered Dec 10 '25 04:12

yfeldblum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!