Client information available to server

Hi,

I have an remoted object served by IIS.  I'm looking to find out what information I can get about the client that has connected or is making a particular method call.

I saw an MSDN article saying that I could use System.Web.HttpContext.* to get some information about the client, but I'm unable to use .HttpContext for some reason.  All I get available to me under the System.Web namespace is ASPNetHostingPermission, ASPNetHostingPermissionAttribute, and ASPNetHostingPermissionLevel.

Can anyone steer me in the direction of being able to find out information about the client making the connection to my remote object

Thanks,
Mike


Answer this question

Client information available to server

  • devstuff

    Hmm.. funny how the simplest things hang you up... ;)

    Thanks alot for the response, I'll give it a try.

    Mike

  • Hugo Batista

    Sorry, maybe I should mention this is VS 2005 (.net 2.0)

    Thanks,
    Mike

  • Folyjon

    > All I get available to me under the System.Web namespace is ASPNetHostingPermission, ASPNetHostingPermissionAttribute, and ASPNetHostingPermissionLevel.

    These classes are in the System.dll assembly.  You'll get additional classes including HttpContext if you add a reference to System.Web.dll.

  • BlaineX

    > funny how the simplest things hang you up
    Especially on Fridays

  • Client information available to server