If your LuciadCPillar-based client application is running behind a proxy server, you need to take extra steps to make use of the proxy. To work with a proxy, the LuciadCPillar-based client must specify information about the proxy itself, and user information for authentication on the proxy.

You can provide an implementation of the IProxySelectorIProxySelectorIProxySelector interface to select a proxy for certain URLs. You must register the implementation of the proxy selector in a LuciadCPillar EnvironmentEnvironmentEnvironment class. You create that EnvironmentEnvironmentEnvironment class when you start using the LuciadCPillar library. For more information about using the environment, see the first map application sample.

Authentication

If the proxy requires authentication, you can provide your credentials through a custom ICredentialsProviderICredentialsProviderICredentialsProvider. For more information, see How to provide authentication credentials.