MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / GetUri

Function GetUri

SampleApps/WebView2APISample/AppStartPage.cpp:89–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89std::wstring GetUri(AppWindow* appWindow)
90{
91 std::wstring uri = appWindow->GetLocalUri(L"AppStartPage.html", true);
92
93 uri += L"?sdkBuild=";
94 uri += GetSdkBuild();
95
96 uri += L"&runtimeVersion=";
97 uri += GetRuntimeVersion(appWindow);
98
99 uri += L"&appPath=";
100 uri += GetAppPath();
101
102 uri += L"&runtimePath=";
103 uri += GetRuntimePath(appWindow);
104
105 return uri;
106}
107
108}; // namespace AppStartPage

Callers 2

ViewComponentMethod · 0.85

Calls 5

GetSdkBuildFunction · 0.85
GetRuntimeVersionFunction · 0.85
GetAppPathFunction · 0.85
GetRuntimePathFunction · 0.85
GetLocalUriMethod · 0.45

Tested by

no test coverage detected