I met a problem that there are two applications. one is desktop application in c#, and another is web application in javascript. some variables or informations in running deskto
I think the processes are very well separated and unless you use a sole handler for c# + js (c#.net to render your page for instance) it is going to be impossible to retrieve data.
Maybe you can get something from the webbrowser object: running it on your page you might gain access to some of your web variables...
Also, if the c# app writes data in a file, the js could read it...
Have fun Rgds