How to find out the url of the hosted silverlight project

摘要:How to find out the url of the hosted silverlight project

Application.Current.Host.Source should be the root URL of your current application.

uri = HtmlPage.Document.DocumentUri;

string path = uri.AbsoluteUri