Click or drag to resize

GeoStreamRepository Constructor (WebProxy, String)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Construct a new GeoStreamRepository which is accessed through a proxy server.

Namespace:  Telogis.GeoBase.Repositories
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public GeoStreamRepository(
	WebProxy proxy,
	params string[] servers
)

Parameters

proxy
Type: System.NetWebProxy
Proxy server information, including the server address and authentication credentials
servers
Type: SystemString
An array of server URL strings
Remarks

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/

Examples
C#
WebProxy proxy = new WebProxy("http:\\myproxy:9012", true)
{
    Credentials = new NetworkCredential("proxyusername", "proxypassword")
};

string[] myServers = {
    "http://tiles.mycompany.net/GeoStream/",
    "http://tiles2.mycompany.net/GeoStream/"
};
GeoStreamRepository myRepo = new GeoStreamRepository(proxy, myServers);
See Also