WinRT Windows 10. Launch Website without opening m

2019-09-18 03:43发布

I'm currently trying to write a code that utilizes Cortana's Speech Recognition. I want to create a command that launch website for e.g "Mark, Open google page" Mark is the AppName declared in the VCD. I'm currently using:

Launcher.LaunchUriAsync(new Uri("https://google.com"));

But the documentation for LauncUriAsync() states that "The calling app must be visible to the user when the API is invoked." Is there an equivalent API i can use that doesn't need the calling app to be visible?

0条回答
登录 后发表回答