Specifies that the URI is accessed through the Hypertext Transfer Protocol (HTTP). This field is read-only.
Assembly: System (in System.dll)
The following example creates a Uri instance and determines whether the scheme is .
Uri address3 = new Uri("http://www.contoso.com/index.htm#search"); if (Uri.CheckSchemeName(address1.Scheme)) outputBlock.Text += "address has a valid scheme name\n"; else outputBlock.Text += "address does not has a valid scheme name\n"; if (address3.Scheme == Uri.UriSchemeHttp) outputBlock.Text += "Uri is HTTP type\n";
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.