Share via

Convert "Application.Current.Host.Source.AbsoluteUri" from Silverlight to WPF

Thomas Lauzi 1 Reputation point
2021-05-10T12:37:07.94+00:00

I want to convert "Application.Current.Host.Source.AbsoluteUri" from Silverlight to WPF

In Silverlight I have:
string absoluteUri = Application.Current.Host.Source.AbsoluteUri;

How can this be achieved in WPF?

Regards

Developer technologies | Windows Presentation Foundation

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.