如何在程序中修改下面结构的xml文件内容
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application name="Client">
<client url="tcp://localhost:6791/CallbackSample">
<activatedtype="Remoting.RemoteObject, emoteObject" />
</client>
<channels>
<channel ref="tcp" port="0">
<serverProviders>
<provider ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
</configuration>
将其中的
<client url="tcp://localhost:6791/CallbackSample">
更改为
<client url="tcp://192.168.0.1:6791/CallbackSample">