/// <summary> /// 修改网络参数 /// </summary> /// <param name="devSN">设备序列号</param> /// <param name="password">通讯密码</param> /// <param name="network">网络参数</param> /// <returns></returns> public static bool SetNetwork(UInt32 devSN, string password, NETWORK network) { int success = AccessV2_NetWorkSet(devSN, password, ref network); return(success != 0); }
public static extern int AccessV2_NetWorkSet(UInt32 devSN, string password, ref NETWORK network);