给你三个经过验证的比较损的方法:
- .disconnectNow() from OpenNetCF-Lib does'nt work, if the ActiveSync version is greater than 4.0
- killing or closing the ActiveSync-App (wcescomm/ WCESmgr/ rapimgr) is possibly a way, but after this hangs the windows explorer. Is'nt a preferable method, thought.
- Blocking of TCP/IP ports (990, 999, 5678, 5679, 5721 und 26675) is also possible, but not easy. If anyone is able to write a firewall, its a quite good way, I think. I'm working on it.