![]() |
| ||
| want to login to windows through c# hello all, i need some help regarding windows login.i have created an application in C# which replaces the windows-login and which gets username and password from the user to enter the windows. But my problem is that i have done the user authentication through win32 API function "LogonUser()" and it works fine.but i am not able to enter the windows.it always shows me a black screen. Please help me what should i do for that is there any library or function or any related material so that i can go ahead. thanks DevGeek |
| ||
| Re: want to login to windows through c# I you don't show us your relevant code I am affraid we can do much to help you out. |
| ||
| Re: want to login to windows through c# Quote:
using System; |
| ||
| Re: want to login to windows through c# Replacing MSGina is not as simple as I tihnk you're looking at there. I would guess a number of those elements fail as you're not logged in at that point. I dont believe its just a case of "impersonating" a specific user, you need windows to go through the real login process - Id imagine your window goes black as you're not calling any method for it to know it needs to launch the shell, and so on. I wise man said: Quote:
|
| ||
| Re: want to login to windows through c# Quote:
|
| ||
| Re: want to login to windows through c# And one more thing that i have seen many winlogon theme that just replace the logontheme.exe with logonui.exe in c:\windows\system32\ and they don't change any msgina so please do suggest.what you people say about this. |
| ||
| Re: want to login to windows through c# If its been told to you that you have to do this specific application for your final year, what reading material were you told to look at? |
| ||
| Re: want to login to windows through c# it is my research project no material has been provided therefore i ask here. |
| All times are GMT -4. The time now is 9:43 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC