Uri::UriSchemeHttps Field

 

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:
static initonly String^ UriSchemeHttps

Field Value

Type: System::String^

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

Uri^ address8 = gcnew Uri( "https://example.contoso.com" );
if ( address8->Scheme == Uri::UriSchemeHttps )
{
   Console::WriteLine( "Uri is Https protocol." );
}

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