用c# 如何写验证???
以下代码用c#怎么写?用什么类啊?谢谢Dim objSotSec
Set objSotSec = Server.CreateObject("SOTSecurity.LDAPUser")
strDN=objSotSec.GetDN("ids.,"389","","","ou=people,ou=intranet,dc=soft,dc=com","uid", strCoreID)
result=False
If strDN <> "" Then
result=objSotSec.Authenticate("ids., "389", strDN, strPassword)
。。。。。。。。。。。