System.UriBuilder.Scheme Property

Gets or sets the scheme name of the URI.

Syntax

public string Scheme { get; set; }

Value

A string containing the scheme component of the current instance.

Remarks

The following table lists the valid scheme names for the UriBuilder.Scheme property.

file

The resource is a file on the local computer.

ftp

The resource is accessed through FTP.

gopher

The resource is accessed through the Gopher protocol.

http

The resource is accessed through HTTP.

https

The resource is accessed through SSL-encrypted HTTP.

mailto

The resource is an e-mail address and is accessed through SMTP.

news

The resource is accessed through NNTP.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0