ispiro ispiro - 1 year ago 100
C# Question

Get protocol activation args in "Project Centennial" app

How can I access the protocol activation arguments in a Winforms app that's converted into a UWP app?

The problem is that the

method is absent so I can't get the

Answer Source

I'm assuming you want to handle file types in which case you can check Environment.GetCommandLineArgs() as normal for arguments. The second argument will be the file or protocol activated.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download