C method to check login credentials
C method to check login credentials
by Ben Berry
1. Parameters
1.1. Host name
1.2. VM File name
1.3. Windows Username
1.4. Windows Password
1.5. Unix Username
1.6. Unix Password
2. Steps
2.1. Connect to host
2.2. Get VM Handle
2.3. Power on VM if necesary
2.4. Attempt to login given credentials
2.4.1. Success: Log out again?
2.4.2. Failure: Catch exception/error?
2.5. Power off (?)
2.6. Disconnect
2.7. Release Handles