C# program to check whether a given Uri is accessed through NetPipe scheme of Indigo system

We are writing every article every day. C# program to check whether a given Uri is accessed through NetPipe scheme of Indigo system Let’s see clearly about this article today.

C# program to check whether a given Uri is accessed through NetPipe scheme of Indigo system

C# program to check whether a given Uri is accessed through NetPipe scheme of Indigo system

using System;

class UriExample
{
    //Entry point of Program
    static public void Main()
    {
        Uri uriAddress = new Uri("mailto:[email protected]?subject=uri");

        Console.WriteLine(uriAddress.Scheme);
        Console.WriteLine(Uri.UriSchemeNetPipe);

        if (uriAddress.Scheme == Uri.UriSchemeNetPipe)
            Console.WriteLine("Given Uri is accessed through NetPipe scheme of Indigo system");
        else
            Console.WriteLine("Given Uri is not accessed through NetPipe scheme of Indigo system");
    }
}
mailto
net.pipe
Given Uri is not accessed through NetPipe scheme of Indigo system
Press any key to continue . . .

Final Words

C# program to check whether a given Uri is accessed through NetPipe scheme of Indigo system We hope you find this article useful. Let us know if you have any doubts.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Deekshi. Here, I post about programming to help developers.

Share on:

Leave a Comment