FlickrNet.Flickr.ReflectionGetMethods C# (CSharp) Method

ReflectionGetMethods() public method

Gets an array of supported method names for Flickr.
Note: Not all methods might be supported by the FlickrNet Library.
public ReflectionGetMethods ( ) : string[]
return string[]
        public string[] ReflectionGetMethods()
        {
            Hashtable parameters = new Hashtable();
            parameters.Add("method", "flickr.reflection.getMethods");
            parameters.Add("api_key", _apiKey);

            FlickrNet.Response response = GetResponseCache(parameters);

            if( response.Status == ResponseStatus.OK )
            {
                return Methods.GetMethods(response.AllElements[0]);
            }
            else
            {
                throw new FlickrException(response.Error);
            }
        }
Flickr