Cerrado

C# DOT NET Windows Login / Unlock Example Code

Looking for some example code in C# that will autologin a PC after 15 seconds if a user does not manually login.

I believe this should be implemented as a pGina plugin <[url removed, login to view]> unless there is an alternative easier, reliable method since the code will be running in the background all the time, therefore must not have memory issues etc, and modifying Windows login code is (risky?).

I believe pGina provides access to events which can be used to tell if the PC is awaiting login / a login is in process (user has entered username/password and pressed enter) / a login has completed etc.

The pGina download page on Sourceforge <[url removed, login to view]> has a number of downloads including "[url removed, login to view]" and "[url removed, login to view]" which contain sample code for getting started using pGina with C# DOT NET

An article describing the use of pGina to login to a Windows XP PC is available on Exteme Tech <[url removed, login to view],1697,1946729,[url removed, login to view]>

(see also deliverables section)

The code is expected to be reasonably optimised / efficient / of a good coding standard.

Bidder should also make suggestions for issues / problems with requested deliverables / expectations / better approaches / request clarification where needed etc

## Deliverables

I am expecting it should be coded as follows:

1. Check if a Windows XP PC is sitting at the login screen (after bootup, after another user has logged out, after the PC has been locked etc)

2. If the PC is at the login screen, call a C# function which will wait 15 seconds, and then autologin with a predefined username/password/domain (if needed) - this is example code that will be replaced.

3. If the PC stops being at the login/unlock screen (a login attempt is in progress/has completed), the autologin timer should be cancelled (I am assuming the PC would try to logout again, then relogin if it was not cancelled?) If a login in process fails to complete (incorrect password etc) the timer should be restarted. i.e. the code should not have any avoidable bugs / issues.

4. Errors such as username / password incorrect should be handled (preferably using the same code as Windows uses).

5. Provision should be made (example code) for alerting the user to custom error messages at the point just before the timer code is started.

To be delivered:

1. Source code (as described above) complete with reasonable level of comment to help customizing where required (which will compile into a single DLL file for use - TBC)

2. Instructions on using either "Microsoft Visual C# 2005 Express Edition" to change the example 15 second autologin (or "Microsoft Visual Studio .NET 2003" - to be agreed, if there are major problems with getting it working in Express).

3. Instructions on compiling the source provided, and installing it on a PC (ie list of registry changes to make / a .reg file to merge etc)

4. Support for getting the source code compiling if any errors occur.

---------------

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Windows XP Pro (and Home if possible)

Habilidades: Programación en C, Programación en C#, Ingeniería, MySQL, PHP, Arquitectura de software, Verificación de software

Ver más: unlock windows, unlock password, pgina source code, pgina unlock, windows login code unlock, windows program login project, dot net sample code, code login windows, unlock screen, unlock file windows code example, windows login, receive windows login using, unlock file dot net sample, login example, unlock file, code login, www programming org com, www code org, work for hire provision, work at home tech support

Información del empleador:
( 17 comentarios ) United Kingdom

Nº del proyecto: #3806813

3 freelancers están ofertando el promedio de $242 para este trabajo

FORTUNEINFOCOMM

See private message.

$552.5 USD en 14 días
(9 comentarios)
6.5
phosphorvw

See private message.

$148.75 USD en 14 días
(96 comentarios)
5.9
sabinel2006

See private message.

$25.5 USD en 14 días
(0 comentarios)
0.0