Share via


AppCredentials.IsTrustedServiceUrl(String) Method

Definition

Caution

IsTrustedServiceUrl is not a required part of the security model.

Checks if the service url is for a trusted host or not.

[System.Obsolete("IsTrustedServiceUrl is not a required part of the security model.")]
public static bool IsTrustedServiceUrl (string serviceUrl);
[<System.Obsolete("IsTrustedServiceUrl is not a required part of the security model.")>]
static member IsTrustedServiceUrl : string -> bool
Public Shared Function IsTrustedServiceUrl (serviceUrl As String) As Boolean

Parameters

serviceUrl
String

The service url.

Returns

True if the host of the service url is trusted; False otherwise.

Attributes

Applies to