Back to Devexpress

MapWebRequestEventArgs.Referer Property

windowsforms-devexpress-dot-xtramap-dot-mapwebrequesteventargs-c8dda139.md

latest3.3 KB
Original Source

MapWebRequestEventArgs.Referer Property

Gets or sets the Referer field of the HTTP header.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public string Referer { get; set; }
vb
Public Property Referer As String

Property Value

TypeDescription
String

A String value.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Referer property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-map-connect-to-openstreetmap/CS/ConnectToOpenStreet/Form1.cs#L39

csharp
e.UserAgent = "Sample app with OSM tiles";
    e.Referer = "https://www.mycompanysite.com/";
}

winforms-map-create-different-map-shapes/CS/MapItemsExample/Form1.cs#L113

csharp
e.UserAgent = "Sample OSM map example";
    e.Referer = "https://www.mycompanysite.com/";
}

winforms-map-use-openstreetmap-search-service/CS/OsmSearchSample/MainForm.cs#L31

csharp
e.UserAgent = "Sample app with OSM tiles and search";
    e.Referer = "https://www.mycompanysite.com/";
}

winforms-map-connect-to-openstreetmap/VB/ConnectToOpenStreet/Form1.vb#L36

vb
e.UserAgent = "Sample app with OSM tiles"
    e.Referer = "https://www.mycompanysite.com/"
End Sub

winforms-map-create-different-map-shapes/VB/MapItemsExample/Form1.vb#L91

vb
e.UserAgent = "Sample OSM map example"
    e.Referer = "https://www.mycompanysite.com/"
End Sub

See Also

MapWebRequestEventArgs Class

MapWebRequestEventArgs Members

DevExpress.XtraMap Namespace