UtilWebRedirectUri(String, Int32) Method
Redirects an Url that points to other Url.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Uri RedirectUri(
string url,
int maxCount
)
Public Shared Function RedirectUri (
url As String,
maxCount As Integer
) As Uri
Dim url As String
Dim maxCount As Integer
Dim returnValue As Uri
returnValue = UtilWeb.RedirectUri(url,
maxCount)
public:
static Uri^ RedirectUri(
String^ url,
int maxCount
)
static member RedirectUri :
url : string *
maxCount : int -> Uri
No code example is currently available or this language may not be supported.
- url String
-
The url to redirect.
- maxCount Int32
-
The maximum amount of times to redirect the resulting urls after the first redirection.
Uri
The redirected Url.
Url redirection, also called Url forwarding,
is a World Wide Web technique for making a web page available under more than one Url address.
When a web browser attempts to open a Url that has been redirected, a page with a different Url is opened.
This is a code example.
No code example is currently available or this language may not be supported.
Dim url As String = "http://goo.gl/PsCZN4"
Dim resultUri As Uri = RedirectUri(url, 0)
Console.WriteLine(resultUri.AbsoluteUri)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.