Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个 wcf 服务来从 windows mobile 6 客户端接收 gps 坐标并将它们保存到数据库中。一切正常,但我正在尝试将一些配置从 winforms 应用程序发送到 windows mobile 客户端。有人有什么主意吗?
WCF 服务需要在一个正在运行的 Web 服务上(本地主机是可以的)。
在您的 PC 上创建并运行 WCF 服务后,右键单击并将 Web 引用添加到您的项目。
完成后,创建服务的客户端实例,以便调用在其中创建的公共方法。
运行 Web 服务的 PC 必须能够“看到”您的设备。查看是否可以 PING 设备: