Hi,
I use this approace in version 5:
Hope this is still valid in version 6.0, but where are: Win32_search.cgi located now?
I use this approace in version 5:
Code:
var psi = new ProcessStartInfo {FileName = (MyPath + @"\Win32_search.cgi")}; psi.EnvironmentVariables["REQUEST_METHOD"] = "GET"; psi.EnvironmentVariables["QUERY_STRING"] = paramStr; psi.RedirectStandardInput = false; psi.RedirectStandardOutput = true; psi.UseShellExecute = false; var proc = Process.Start(psi); proc.StandardOutput.ReadLine(); // skip the HTTP header line var zoom_results = proc.StandardOutput.ReadToEnd(); // read from stdout proc.WaitForExit(); var enc = proc.StandardOutput.CurrentEncoding; var output = enc.GetBytes(zoom_results);
Comment