This topic has not yet been rated - Rate this topic

Uri.UriSchemeGopher Field

May 02, 2013

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

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


Uri address8 = new Uri("gopher://example.contoso.com/");
if (address8.Scheme == Uri.UriSchemeGopher)
    outputBlock.Text += "Uri is Gopher protocol\n"; 


Windows Phone OS

Supported in: 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.