简体   繁体   中英

Run managed code on secure desktop

I am working on creating an application which must interact with the user on the secure desktop (ie locked computer screen), but does not specifically provide authentication. From my research, it seems that the only way to get code running on the secure desktop is to use the Credentials Provider API. However, you can only write a credential provider using native Win32 C++ code, there is no way to use managed .NET code. Does anybody know of a way to get .NET code running on the secure desktop? Would it be possible to call a .NET executable from a Win32 credential provider?

If your program uses the Credentials Provider API, then (by definition) it's providing authentication.

That being said, if you want to use your .NET code, your best option would be to run it as a service, and communicate with it via a named pipe or some other IPC mechanism.

我最终使用Win32代码创建了一个凭据提供程序,并用它来启动.NET应用程序。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM