GeoStreamRepository Constructor (String, String, GeoStreamRepositoryAuthenticationMode, String) |
Namespace: Telogis.GeoBase.Repositories
public GeoStreamRepository( string username, string password, GeoStreamRepositoryAuthenticationMode authMode, params string[] servers )
GeoStream servers are known by the URL pointing to the server's GeoStream directory (the GeoStream directory contains 'tile.aspx'). The URL should be of the form: http://myserver/path_to_geostream_directory/
The default installation of GeoBase configures IIS with the following URL: http://myserver/GeoStream/
string[] myServers = { "http://tiles.mycompany.net/GeoStream/", "http://tiles2.mycompany.net/GeoStream/" }; GeoStreamRepository myRepo = new GeoStreamRepository("username", "password", GeoStreamRepository.AuthenticationMode.Url, myServers);