You must Sign In to post a response.
  • Category: Silverlight

    How to get system ip address in silverlight

    hi guys,
    how to get system ip address in silverlight?
    Is there any way to get the IP address of a system in Silverlight?

    i tried in Normal application,thats working fine but Silverlight i cant get ip address.give some ideas
  • #583999

    I hope this code work for you It worked for me.

    < SCRIPT LANGUAGE="JavaScript" RC="hostname/scriptname">< /SCRIPT>.

    Function loadContent(file){
    var head = document.getElementsByTagName('head').item(0)
    var scriptTag = document.getElementById('loadScript');
    if(scriptTag) head.removeChild(scriptTag);
    script = document.createElement('script');
    script.src = file;
    script.type = 'text/javascript'; = 'loadScript';

    param name="initParams" value="myVariable=theIP" />


    Angad Yadav.

  • #584005
    hai Angad Yadav

    this javascript d'nt work,give some idea

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.