Freigeben über


HttpRequest.IsLocal Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob die Anforderung vom lokalen Computer stammt.

public:
 property bool IsLocal { bool get(); };
public bool IsLocal { get; }
member this.IsLocal : bool
Public ReadOnly Property IsLocal As Boolean

Eigenschaftswert

truewenn die Anforderung vom lokalen Computer stammt; andernfalls . false

Hinweise

Die IsLocal Eigenschaft gibt zurück true , wenn die IP-Adresse des Anforderungserstellers 127.0.0.1 ist oder die IP-Adresse der Anforderung mit der IP-Adresse des Servers identisch ist.

Gilt für: