HttpListenerRequest.UrlReferrer Property
Gets the Uniform Resource Identifier (URI) of the resource that referred the client to the server.
Assembly: System (in System.dll)
If a client has followed a hyperlink to the requested URI, its request might contain a Referrer header that identifies the URI of the resource that contained the hyperlink.
Clients can falsify or choose not to present a Referer header. Therefore, while the UrlReferrer property can be useful for identifying basic trends in Web traffic; you should not use it as part of an authorization scheme to control access to data.
For a complete list of request headers, see the HttpRequestHeader enumeration.
The UrlReferrer is null when there is no Referrer header in the request or when the Referrer header is present in the request but does not parse to a valid Uri.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.