Windows Server登录表单 [英] Login Form to Windows Server
本文介绍了Windows Server登录表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这可能很简单,但是这里有一个示例代码可用于创建C#Windows窗体,该窗体将从不属于域的工作站连接到Windows服务器.
我不是在尝试登录到SQL DB,而只是为了向服务器进行身份验证和启动/停止服务.
谢谢
This may be trivial but is there a sample code out there for creating a C# Windows Form that will connect to a Windows server from a workstation that is not part of the domain.
I am not trying to login to a SQL DB but just to authenticate to a server and start/stop services.
Thank you
推荐答案
尝试一下,尽管它对于ASP.NET来说原理是相同的
如何通过使用表单身份验证和Visual C#.NET对Active Directory进行身份验证 [
Try this, although it is for ASP.NET the principle is the same
How to authenticate against the Active Directory by using Forms authentication and Visual C# .NET[^]
感谢Mark,但由于某些原因没有帮助: (
Thanks Mark but for some reason that did not help :(
这篇关于Windows Server登录表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文