(X) Hide this Watch the recording of the recent webinar: Blend for Silverlight Developers delivered by Gill Cleeren on June 16th. Download the slides and demos.
On June 30, 10 am PST (see your local time) join the free webinar 'XNA for Windows Phone 7'. All attendees get a 20% discount for the 3-day online training XNA for Windows Phone 7.
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Silverlight Tip of the Day #9 – Obtaining Your clients IP Address

(0 votes)
4 comments   /   posted by Silverlight Show on May 03, 2010
Tags:   tips , wcf , web-services , mike-snow
This tip of Mike Snow shows you how to obtain your client’s IP address when using Silverlight.

Unfortunately there is no way to accomplish this directly from Silverlight. It is also not supported via JScript so communicating between Silverlight and JScript will also not help here.

The first way I have found to accomplish this is to have your Silverlight application communicate directly with a WCF service where the web services returns to the Silverlight client the IP address of the client.


Comments

  • -_-

    RE: Silverlight Tip of the Day #9 – Obtaining Your clients IP Address


    posted by jerry qian on May 04, 2010 08:24

    how the wcf service side can get the client ip  adreess?

    please give more info thank you

  • -_-

    RE: Silverlight Tip of the Day #9 – Obtaining Your clients IP Address


    posted by PrincessP on Aug 20, 2010 15:12

    Can you please explain in detail how you have achieved sending the silverlight client's IP address from WCF service to client? Its no use just telling ppl what you have done without explaining how. Otherwise its just useless information.

  • -_-

    RE: Silverlight Tip of the Day #9 – Obtaining Your clients IP Address


    posted by Camilo on Jan 25, 2011 16:08
    This is the worst tip I have ever read!
  • SilverlightShow

    RE: Silverlight Tip of the Day #9 – Obtaining Your clients IP Address


    posted by SilverlightShow on Jan 26, 2011 10:24

    Hi,

    The URL in the above news has been now updated.

    We sincerely apologize for the inconvenience but URLs of old news may change, and we are unable to monitor whether or not some URL is still active. But, we’ll do our best to update inactive URLs following user comments.

    Greetings,

    SilverlightShow Team

Add Comment

Login to comment:
  *      *       
Login with Facebook