0

I'm trying to get protocol arguments to point to a specific page in the Windows App Sdk:

private static void onActivated(object? sender, AppActivationArguments args) {
        App.GetService\<ILogger\<App\>\>().LogInformation($"App Activated: {args.Kind}");

        if (args.Kind == ExtendedActivationKind.Protocol) {
            var config = teste.Data as ProtocolActivatedEventArgs;
    
            configureServerOptionsByParam(configName);
    
        }
}

But config variable is always null, how toi solve this problem?

0 Answers0