HttpRequest.IsLocal Özellik

Tanım

İsteğin yerel bilgisayardan olup olmadığını belirten bir değer alır.

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

Özellik Değeri

Boolean

true istek yerel bilgisayardansa; aksi takdirde , false.

Açıklamalar

özellik, IsLocal istek sahibinin IP adresi 127.0.0.1 ise veya isteğin IP adresi sunucunun IP adresiyle aynıysa döndürür true .

Şunlara uygulanır