我客户端 这样写是否可以调用?应该如何来写呢?
private void button1_Click(object sender, System.EventArgs e)
{
HttpChannel chan = new  HttpChannel();
ChannelServices.RegisterChannel(chan);
System.Object obj = (abcClass)Activator.GetObject(typeof(abcClass.abcClass),"http://192.168.0.7/HttpBinary");
if (obj == null) System.Console.WriteLine("无法定位服务器");
else 
{
textBox1.Text=obj.holle("textBox1.Text");
} }