Class CloudMapClient
[Obsolete("This class is deprecated and will be removed after v13.3. Please use ThinkGeo Cloud Layers to display ThinkGeo Maps.")]
public class CloudMapClient
  - Inheritance
 - 
      
      CloudMapClient
 
- Inherited Members
 
Constructors
CloudMapClient()
public CloudMapClient()
  CloudMapClient(string, string)
This method is the default protected constructor with a NativeConfidential client ID and secret. It will send a request to the GIS Server to acquire an access token, which will then be added to the Header for all future requests.
public CloudMapClient(string clientId, string clientSecret)
  Parameters
clientIdstringThe NativeConfidential client Id with which to authenticate.
clientSecretstringThe NativeConfidential client secret with which to authenticate.
Exceptions
- ArgumentNullException
 Thrown when the
clientIdorclientSecretis null.
Properties
ClientId
A GIS Server NativeConfidential client ID.
public string ClientId { get; set; }
  Property Value
ClientSecret
A GIS Server NativeConfidential client secret.
public string ClientSecret { get; set; }
  Property Value
IsOpen
public bool IsOpen { get; set; }
  Property Value
TimeoutInSeconds
The request timeout, default 100 seconds
public int TimeoutInSeconds { get; set; }
  Property Value
Uris
public Collection<Uri> Uris { get; }
  Property Value
- Collection<Uri>
 
WebProxy
The proxy used for requesting a Web Response.
public IWebProxy WebProxy { get; set; }
  Property Value
Methods
CreateWebRequest(string, string, string, string, int, IWebProxy, bool)
public WebRequest CreateWebRequest(string apiPath, string method = "GET", string parameters = null, string body = null, int timeoutInSeconds = -1, IWebProxy webProxy = null, bool isNeedToken = true)
  Parameters
apiPathstringmethodstringparametersstringbodystringtimeoutInSecondsintwebProxyIWebProxyisNeedTokenbool
Returns
Dispose()
Disposes BaseClient class.
public virtual void Dispose()
  Open()
public void Open()