TryGetAbsoluteHttpUri(string, string) Method
Checks if a string contains an absolute URI with a "http" or "https" scheme and returns it if it does.

Syntax

public virtual bool TryGetAbsoluteHttpUri(string str, out string absoluteUri)

Parameters

Name Type Description
str string The string to check.
absoluteUri string The resulting absolute URI.

Return Value

Type Description
bool true if the string contains an absolute URI, false otherwise.