i use the following code.
<Extensions>
<Extension Category="windows.fileTypeAssociation">
<FileTypeAssociation Name="pdf">
<SupportedFileTypes>
<FileType>.pdf</FileType>
</SupportedFileTypes>
</FileTypeAssociation>
</Extension>
</Extensions>
How can i get options as open with my app like open with pdf reader. Then how can I bring it inside myapp using launcher,
protected override void OnFileActivated(FileActivatedEventArgs args) { var f = args.Files[0]; var c = args.Files[0].Name; string path = args.Files[0].Path; }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.