HttpRequest.IsLocal Property
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.
Gets a value indicating whether the request is from the local computer.
public:
property bool IsLocal { bool get(); };
public bool IsLocal { get; }
member this.IsLocal : bool
Public ReadOnly Property IsLocal As Boolean
Property Value
true
if the request is from the local computer; otherwise, false
.
Remarks
The IsLocal property returns true
if the IP address of the request originator is 127.0.0.1 or if the IP address of the request is the same as the server's IP address.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.