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.



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

All replies

  • Hi Dkrishna,

    I suggest you use Javascript and then call the Javascript function in Silverlight application to get the client machine name. You could refer to following thread.


    But it works in IE which is support ActiveX object.

    Best Regards,

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, September 25, 2017 8:35 AM