public GetLegendInfo ( string serviceUrl, ICredentials credentials = null ) : |
||
serviceUrl | string | |
credentials | ICredentials | |
return |
public ArcGISLegendResponse GetLegendInfo(string serviceUrl, ICredentials credentials = null)
{
_webRequest = CreateRequest(serviceUrl, credentials);
var response = _webRequest.GetSyncResponse(_timeOut);
_legendResponse = GetLegendResponseFromWebresponse(response);
return _legendResponse;
}