views:

69

answers:

2

I'm wondering whether you can get the client's machine name. I guess you cannot.

Its interesting what you can get in the System.Windows.Application namespace.

I guess hidden is not the right word, more like "less-used" or unknowns. For example I use the one below to get the current URL

var hostName = Application.Current.Host.Source.Host;

I'd love to see what other devs out there are getting and using.

Thanks

+1  A: 

No you can't acquire the client's machine name. Silverlight doesn't allow you to get to any such data. There is nothing about the client environment that you find out through silverlight that you can't already find from the browsers window object.

AnthonyWJones
A: 

That is a very broad question, but one class that you might be interested in is System.Windows.Analytics which can be used to get performance related information from the Client.

Also HtmlPage.BrowserInformation returns a BrowserInformation instance which contains data about the client's browser (really a managed wrapper for some javascript functions).

KeithMahoney