CoreWebView2.Source Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the URI of the current top level document.
public string Source { get; }
member this.Source : string
Public ReadOnly Property Source As String
Property Value
Remarks
This value potentially changes as a part of the SourceChanged event raised for some cases such as navigating to a different site or fragment navigations. It remains the same for other types of navigations such as page refreshes or history.pushState
with the same URL as the current page.