locked
How to Get Client Machine Name in Silverlight from Code RRS feed

  • General discussion

  • Hi,

    I am trying to get client machine where Silverlight App is running can any one suggest how to get??

    Lot of Posts suggest to get hostname from following code but in Silverlight those references are not accessible to get Hostname. or please let me know what are the references need to import in Silverlight 4.

    Please suggest proper solution.

    HostName=System.Net.Dns.GetHostName();
     System.Net.IPHostEntryipEntry=System.Net.Dns.GetHostEntry(strHostName);


    Krishna

    • Changed type Dkrishna Saturday, September 23, 2017 10:02 AM
    Friday, September 22, 2017 2:36 PM

All replies