Hello,
I am using ZennoPoster in C# using .Net 3.5. I have tried several different ways to properly instantiate the Instance object. To get started, I am using the example code as follows:
It seems like no what parameters I pass the IsVoid is always true. Is this an issue or am I am missing something?
I appreciate your help.
Thanks,
Rico
I am using ZennoPoster in C# using .Net 3.5. I have tried several different ways to properly instantiate the Instance object. To get started, I am using the example code as follows:
Код:
using System;
using Zennolab.CommandCenter;
namespace Sample
{
internal class Example
{
public static int Execute()
{
Instance instance = new Instance("http://www.microsoft.com", 80, "server");
instance.ClearCookie();
instance.ClearCache();
Tab tab = instance.MainTab;
if (tab.IsNull) return -1;
// This is always true....
if (tab.IsVoid) return -1;
tab.Navigate("zennolab.com");
if (tab.IsBusy) tab.WaitDownloading();
return 0;
}
}
}
I appreciate your help.
Thanks,
Rico