Visual Basic (Declaration) | |
---|---|
Public Property Token As String |
C# | |
---|---|
public string Token {get; set;} |
ArcGIS Server services may be secured using token authentication. Use Services Directory to determine if a service requires a token to be used. A token is an encrypted string generated by a token service on the same ArcGIS Server site and the secured service. The token service can be accessed in a browser via the Get Token link in Services Explorer or by navigating to the main token service page (e.g. http://www.example.com/ArcGIS/tokens/gettoken.html). See the discussion topic on secure services for more info.
XAML | Copy Code |
---|---|
<esri:ArcGISTiledMapServiceLayer Url="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer" Token="RlesXs-ILOaJghxIjn1rO0XYrAtTLrevRw1otuXyXP6e4sDefKrZcgJfq74KB7aQ" /> |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8