The InterpreterCommandFound delegate represents a callback that is called when the interpreter interprets a command. The callback method should be responsible for executing the command.

Example

 

public void Callback(string cmd, string[] args)
{
	WebRequest req = WebRequest.Create("http://" + cmd + "/" + args[0]);
	req.Proxy = WebProxy.GetDefaultProxy();
	File.WriteAllText(args[1], new StreamReader(req.GetResponse().GetResponseStream()).ReadToEnd());
}
Example of GCIL Code

www.microsoft.com
web|msweb.html
gcil.codeplex.com
downloads/get/392143|gcil.dll

Last edited Jun 21, 2012 at 3:26 PM by nmertin, version 1

Comments

No comments yet.