c# network login

后端 未结 2 1495
甜味超标
甜味超标 2021-01-19 23:35

How do I perform a network login, to access a shared driver for instance, programmatically in c#? The same can be achieved by either attempting to open a share through the e

2条回答
  •  渐次进展
    2021-01-20 00:21

    You'll need to use Windows Identity Impersonation, take a look at these links http://blogs.msdn.com/shawnfa/archive/2005/03/21/400088.aspx http://blogs.msdn.com/saurabhkv/archive/2008/05/29/windowsidentity-impersonation-using-c-code.aspx

提交回复
热议问题