File Association App LifeCycle File Handling #2089
Answered
by
seven-mile
WebAssemblyMan
asked this question in
Q&A
-
Hi, I am working with File Association and File handling for a WindowsSDK App. In App.xaml.cs OnLaunched, I have the following, may I know how do I get the file that triggered the app?
Package.appxmanifest
|
Beta Was this translation helpful? Give feedback.
Answered by
seven-mile
Feb 15, 2022
Replies: 1 comment 3 replies
-
I think you can cast |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
WebAssemblyMan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you can cast
activatedEventArgs
intoWindows::ApplicationModel::Activation::IFileActivatedEventArgs
interface directly. Then access properties in it to get the information you need.