I successfully got a Centennial app to auto launch at logon using a StartupTask inside appxmanifest as mentioned here. But I need to detect that that was how it was launched (as opposed to a user launching it manually.
How is that achieved?
I was thinking of using the StartupTask class for that, but couldn't find anything helpful there.
(While on the subject - how would I even use that class in a .net, since the reference to its assembly is not available for .net? See my other question on the subject.)