Home » Tutorials » C# » Register custom URL Protocol using C# – Windows Application

Register custom URL Protocol using C# – Windows Application

Add Google custom search in asp.net MVC website
Launch local computer exe from web page

Register custom URL Protocol using C# – Windows Application

Hello folks, today we will understand what is Custom URL protocol and how can we register custom URL protocol using C#. Below is code snippet to register custom URL protocol using C#.

 

As shown in code, let me explain first of all open sub key of Software and register(create) new key. You can see in below image we have registered “TechnoThirsty” protocol in Registry.

Registry-entry-for-custom-url-protocol

 

Now below is the code snippet of HTML page to run our registered custom URL protocol

 

Output:

URL-Protocol-output

URL Protocol output for sample application

 

About

Hello friends, My self Dhruv Sheth, I have more than 6 years of Industrial experience as a Software Developer. In my career I got chance to work with asp.net, c#,Web API, JavaScript, JQuery, WPF, WCF , Windows Application, PostScript, vb.net, GhostScript etc. So I have decided to share my knowledge with everyone and finally I have come up with TechnoThirsty.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Time limit is exhausted. Please reload CAPTCHA.




DISCLAIMER:
The content is copyrighted to technothirsty.com and may not be reproduced on other websites without permission from the owner.You may contact us using the information below.