Share via


OpenAuth.IsLocalUrl Method

.NET Framework 4

Determines if the specified URL is local to this web site.

Namespace:  Microsoft.AspNet.Membership.OpenAuth
Assembly:  Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)

Syntax

'Declaration
Public Shared Function IsLocalUrl ( _
    url As String _
) As Boolean
'Usage
Dim url As String 
Dim returnValue As Boolean 

returnValue = OpenAuth.IsLocalUrl(url)
public static bool IsLocalUrl(
    string url
)
public:
static bool IsLocalUrl(
    String^ url
)
static member IsLocalUrl : 
        url:string -> bool
public static function IsLocalUrl(
    url : String
) : boolean

Parameters

Return Value

Type: System.Boolean

See Also

Reference

OpenAuth Class

Microsoft.AspNet.Membership.OpenAuth Namespace