New to Telerik UI for WPFStart a free 30-day trial

Provides static classes to work with HTTP and HTTPS.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public static class ProtocolHelper

Inheritance: objectProtocolHelper

Properties

Gets scheme which must be used to connect to the services (HTTP or HTTPS).

C#
public static string Scheme { get; }

SecurityMode

BasicHttpSecurityMode

Gets http security mode.

C#
public static BasicHttpSecurityMode SecurityMode { get; }

Gets or sets a value indicating the Uri scheme to be used in OpenStreetMapProvider, ArcGisMapProvider and WmsTiledProvider.

C#
public static bool UseHttpsScheme { get; set; }

Methods

Set right scheme to given uri.

C#
public static string SetScheme(string uri)
Parameters:uristring

Uri to set scheme to.

Returns:

string

Uri with scheme changed.