logonserver

Get Domain LogonServer in C#

In a command prompt I am able to get the domain logon server by typing: echo %logonserver% How can I get this same result in C#? ...

Is it possible to set a cookie for a site /server other than you own?

Here's the quick version of my question: Is it possible to set a cookie somehow into a client's browser when the cookie is for use with a different server (in this case an Exchange mail server)? In this scenario the server trying to set the cookie is at "intranet.myschool.edu" and the exchange server is at "owa_server.myschool.edu". ...