OK, so I'm new to .Net remoting and I have a couple of questions.
What is the context of the object being hosted? Like, if my object is
coded to run a Win32 API and get system metrics and report them back
through a simple function call. To keep it simple, let's say we are
getting the max screen resolution. And, we code a simple function to do
that. And we place this as the sole function in our object that we will
make available to remote clients.
When a remote client attaches to our object and calls the function will the
max screen resolution returned be for the client's screen or the host's
screen?
I guess I am asking what context the object will run in if marshalled by
reference and what context if marshalled by value.
Thanks for your help!