23 lines
527 B
C#
23 lines
527 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using Domain;
|
|||
|
|
|
|||
|
|
namespace RCUHost
|
|||
|
|
{
|
|||
|
|
public interface INetworkSettingReceiver
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 设置主机网络参数
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="host"></param>
|
|||
|
|
/// <param name="ip"></param>
|
|||
|
|
/// <param name="subnetmask"></param>
|
|||
|
|
/// <param name="gateway"></param>
|
|||
|
|
/// <param name="port"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
bool SetNetwork(Host host, string ip, string subnetmask, string gateway, int port);
|
|||
|
|
}
|
|||
|
|
}
|