Uri.UriSchemeGopher Field

 

Specifies that the URI is accessed through the Gopher protocol. This field is read-only.

Namespace:   System
Assembly:  System (in System.dll)

public static readonly string UriSchemeGopher

Field Value

Type: System.String

The following example creates a Uri instance and determines whether the scheme is UriSchemeGopher.

Uri address6 = new Uri("gopher://example.contoso.com/");
if (address6.Scheme == Uri.UriSchemeGopher)
    Console.WriteLine("Uri is Gopher protocol");

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: