Click or drag to resize

SKMGetParameters Method

This method will take in a set of parameters (input parameters) and send them to the given action. You can find them here:

Namespace:  SKGL
Assembly:  SKM (in SKM.dll) Version: (
public static Dictionary<string, string> GetParameters(
	Dictionary<string, string> inputParameters,
	string typeOfAction,
	WebProxy proxy = null


Type: System.Collections.GenericDictionaryString, String
A dictionary that contains data such as "uid", "pid", etc.
Type: SystemString
A string that tells what to do, i.e. "validate", "activate" etc.
proxy (Optional)
Type: System.NetWebProxy
(Optional) The proxy settings.

Return Value

Type: DictionaryString, String
A dictionary of the JSON elements returned for that particular request.
If you would like to access a method in the Web API manually, please use GetParameters method. A list of them can be found at
public void GetParamtersExample()
   var input = new System.Collections.Generic.Dictionary<string, string >();
   input.Add("uid", "1");
   input.Add("pid", "1");
   input.Add("hsum", "11111");
   input.Add("sid", "ABCD-EFGHI-GKLMN-OPQRS");

   var result = SKGL.SKM.GetParameters(input, "Validate");

   var keyinfo = SKGL.SKM.GetKeyInformationFromParameters(result);

   if(result.ContainsKey("error") && result["error"] != "")
       // if we are here, something went wrong.
See Also