HttpRequestExtensionsIsLocal Method |
Determines whether the request originates from the local machine.
Namespace:
Dundas.BI.WebApi
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public static bool IsLocal(
this HttpRequest request
)
<ExtensionAttribute>
Public Shared Function IsLocal (
request As HttpRequest
) As Boolean
public:
[ExtensionAttribute]
static bool IsLocal(
HttpRequest^ request
)
[<ExtensionAttribute>]
static member IsLocal :
request : HttpRequest -> bool
Parameters
- request
- Type: Microsoft.AspNetCore.HttpHttpRequest
The request.
Return Value
Type:
Boolean if the request originates from the local machine; otherwise,
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
HttpRequest. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also