Mega Code Archive

 
Categories / C# / Network
 

Specifies that the URI is accessed through the Gopher protocol

using System; public class MainClass{    public static void Main(){         Uri address6 = new Uri("gopher://example.yourDomain.com/");         if (address6.Scheme == Uri.UriSchemeGopher)             Console.WriteLine("Uri is Gopher protocol");    } }