TogglePassportEnvironment utility

The TogglePassportEnvironment utility is a command-line application for changing the configuration of a client computer from live mode to pre-production mode and back again. Each time the utility is run, it detects whether the computer is in live or pre-production. If the computer is in pre-production mode, it is changed to live mode. If it’s in live mode, it’s changed to pre-production mode. The result of toggling the Passport mode is reported in a dialog box as shown in Figure A-12.

Changing the Passport environment to pre-production

Figure A-12. Changing the Passport environment to pre-production

Get Security for Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.