Uri.UriSchemeHttps Field Specifies that the URI is accessed through the Secure Hypertext Transfer Protocol (HTTPS).
Imports System.IO
Imports System.Net
Imports System.Text
publicclass MainClass
Shared Sub Main()
Dim address8 As New Uri("https://example.yourDomain.com")
If address8.Scheme = Uri.UriSchemeHttps Then
Console.WriteLine("Uri is Https protocol.")
End If
End Sub
End Class