ArcGIS API for Silverlight - Library Reference
RegisterServers Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > IdentityManager Class : RegisterServers Method

serverInfos
The enumeration of serverInfo object that defines the secure service and token endpoint.
Register secure servers and the token endpoints. The Identity Manager makes its best guess to determine the location of the secure server and token endpoint so in most cases calling registerServers is not necessary. However if the location of your server or token endpoint is non-standard use this method to register the location.

Syntax

Visual Basic (Declaration) 
Public Sub RegisterServers( _
   ByVal serverInfos As IEnumerable(Of IdentityManager.ServerInfo) _
) 
C# 
public void RegisterServers( 
   IEnumerable<IdentityManager.ServerInfo> serverInfos
)

Remarks

Most generally, the IdentityManager can guess the token endpoint whether the url contains either 'arcgis.com' (portal url) or '/rest/services' (arcgis service).

Parameters

serverInfos
The enumeration of serverInfo object that defines the secure service and token endpoint.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.