当前位置: 代码迷 >> Windows Mobile >> Mobile开发中可不可以调用DirectoryEntry类来访问Active Directory
  详细解决方案

Mobile开发中可不可以调用DirectoryEntry类来访问Active Directory

热度:1465   发布时间:2013-02-26 00:00:00.0
Mobile开发中能否调用DirectoryEntry类来访问Active Directory?
我在Mobile 6工程中引入了system.directoryservices.dll,

using System.DirectoryServices;

DirectoryEntry deUser = new DirectoryEntry(ADPath, UserName, Password, AuthenticationTypes.Secure);

但是编译出错,要添加.net System的引用。但是Mobile工程中不能引入.net的System.dll.

我查了MSDN, .net framework 2.0和3.5里没有对Mobile平台的支持,但是3.0里有。不知是不是3.0的MSDN写错了,Mobile中是不是根本不能调用DirectoryEntry类来访问Active Directory?


------最佳解决方案--------------------------------------------------------
不知是不是3.0的MSDN写错了



这好象不太可能
------其他解决方案--------------------------------------------------------
要是真的,可以告诉微软,有酬谢的,呵呵
------其他解决方案--------------------------------------------------------
456
------其他解决方案--------------------------------------------------------
楼主高手
  相关解决方案