Uri.UriSchemeHttps Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies that the URI is accessed through the Secure Hypertext Transfer Protocol (HTTPS). This field is read-only.

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


Public Shared ReadOnly UriSchemeHttps As String
public static readonly string UriSchemeHttps


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

Dim address10 As Uri = New Uri("https://example.contoso.com")
If address10.Scheme = Uri.UriSchemeHttps Then
  outputBlock.Text &= "Uri is Https protocol" 
  outputBlock.Text &= vbCrLf
End If
Uri address10 = new Uri("https://example.contoso.com");
if (address10.Scheme == Uri.UriSchemeHttps)
    outputBlock.Text += "Uri is Https protocol\n"; 

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


Uri Class

System Namespace