macOS/Windows AppLinks

%3CLINGO-SUB%20id%3D%22lingo-sub-3362632%22%20slang%3D%22es-ES%22%3EmacOS%2FWindows%20AppLinks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3362632%22%20slang%3D%22es-ES%22%3E%3CP%3EI%20have%20a%20requirement%20that%20when%20the%20user%20visits%20a%20website%20protocol%20with%20certain%20parameters%20(appname%3A%3CA%20href%3D%22http%3A%2F%2Furl.com%2Fparam1%2Fparam2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eurl.com%2Fparam1%2Fparam2%3C%2FA%3E)%2C%20the%20desktop%20application%20must%20open%20and%20read%20those%20parameters%2C%20I%20know%20that%20this%20is%20possible%20on%20iOS%2FAndroid%2C%20on%20desktop%20too%3F%20where%20can%20i%20read%20doc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fapp-installer%2Finstall-parameters%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fapp-installer%2Finstall-parameters%3C%2FA%3E%3CBR%20%2F%3E%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.shotgridsoftware.com%2Faf0c94ce%2F%23registering-a-protocol-on-osx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.shotgridsoftware.com%2Faf0c94ce%2F%23registering-a-protocol-on-osx%3C%2FA%3E%3CBR%20%2F%3E%20%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F68577785%2Fhow-to-make-url-protocol-to-launch-application-from-its-own-directory-instead%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F68577785%2Fhow-to-make-url-protocol-to-launch-application-from-its-own-directory-instead%3C%2FA%3E%3C%2FP%3E%3CP%3Ein%20Windows%2FmacOS%20it%20would%20be%20something%20like%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3362632%22%20slang%3D%22es-ES%22%3E%3CLINGO-LABEL%3E.NET%20MAUI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3363623%22%20slang%3D%22en-US%22%3ERe%3A%20macOS%2FWindows%20AppLinks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3363623%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1387955%22%20target%3D%22_blank%22%3E%40Angelru9%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20posting%20your%20issue%20here.%3C%2FP%3E%0A%3CP%3EHowever%20this%20platform%20is%20used%20for%20how-to%20discussions%20and%20sharing%20best%20practices%20for%20building%20any%20app%20with%20.NET.Since%20your%20issue%20is%20a%20technical%20question%2C%20welcome%20to%20post%20it%20in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fanswers%2Fproducts%2Fdotnet%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Q%26amp%3BA%3C%2FA%3E%20forum%2C%20the%20support%20team%20and%20communities%20on%20Microsoft%20Q%26amp%3BA%20will%20help%20you%20for%20any%20technical%20questions.%3CBR%20%2F%3EBesides%2C%20it%20will%20be%20appreciated%20if%20you%20can%20share%20it%20here%20once%20you%20post%20this%20technical%20question%20Microsoft%20Q%26amp%3BA.%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ELan%20Huang%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I have a requirement that when the user visits a website protocol with certain parameters (appname:url.com/param1/param2), the desktop application must open and read those parameters, I know that this is possible on iOS/Android, on desktop too? where can i read doc.

 

https://docs.microsoft.com/en-us/windows/msix/app-installer/install-parameters
https://developer.shotgridsoftware.com/af0c94ce/#registering-a-protocol-on-osx
https://stackoverflow.com/questions/68577785/how-to-make-url-protocol-to-launch-application-from-its...

in Windows/macOS it would be something like this?

1 Reply

Hi @Angelru9,

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang