I found my answer to Michel Re: Executing a script from .NET Thread #1386831 Message #1386855 and from the links in that answer I think the best is http://forums.asp.net/t/1379288.aspx/2/10 (and see also Elarper's solution referenced there).
and just in case Re: Returning result from a script Thread #1387061 Message #1387074