AppCredentials.IsTrustedServiceUrl(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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