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)

static initonly String^ UriSchemeGopher

Field Value

Type: System::String^

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

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

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