Possible Duplicate:
How can I customize the login screen for Windows Vista & 7?
我正在开发一个自定义的 Windows 登录屏幕,它将被 Windows 7 的默认登录屏幕取代。为此我需要一些信息。
- 是
C#
还是 C++
的正确语言
- 如果
C#
是不错的选择,那么使用 WPF 来获得漂亮的 UI 又如何。
- 我可以使用
PrincipalContext
类对用户进行身份验证,现在在身份验证之后我需要为该用户显示桌面。我该怎么做。
如果您能提供任何代码示例或引用资料,那将会很有帮助。
根据 MSDN Magazine ,您不能使用托管代码,也不能绘制自己的 UI。
关于绘制UI:
There has also been an important change regarding which component renders the graphical aspect of the logon. Previously, this was handled by GINA and thus a third-party component could have been doing the rendering. In the new architecture, LogonUI, which is a built-in piece of the operating system, is responsible for this.
So how is per-provider user prompting behavior achieved in the new model? The Credential Provider architecture requires each provider to enumerate its UI elements. For example, in a given scenario, a provider might indicate to LogonUI that it requires two edit boxes, two captions, a checkbox, and a bitmap. In turn, LogonUI renders those controls on behalf of the credential provider. This goes a long way toward achieving the goal discussed previously-a consistent look and approach that supports a broad set of evolving authentication scenarios.
关于托管代码:
The credential provider architecture and its host support only native code.