ePass 1000 Active Control Demo Program for ASP.NET

1. Overview

	Wellcome to ePass 1000 Active Control demonstration program for ASP.NET.
	The following list shown how to use this demonstration program:
		1. Make the demonstration program work. 
		2. Initialize an ePass. 
		3. Demonstrate the user authentication procedure. 
	In this documentation, "%SDKDIR%" means the directory you installed ePass 1000 SDK, such as C:\Feitian\ePass1000.

2. Make the demonstration program work
(Do this operation at server)

	To use this demonstration program, you must have a web server supported ASP.NET, such as IIS 5.0, etc. Then make an virtual directory point to the directory contained the ASP demonstration files for this demonstration program.

	In the following explain, we assume you can visit your web server host in web browser by "http://www.myhost.net".
	You can find these ASP.NET demonstration files at %SDKDIR%\Samples\ASP.NET, you should add an virtual directory named "aspnettest" and point to %SDKDIR%\Samples\ASP.NET in your PWS(or IIS).

	Now you can visit http://www.myhost.net/aspnettest/index.htm. If you can see this file in the web browser, it's means you had configed your web server correctly. Otherwise, you must read the documentation of your web server and set the virtual directory correctly to make the demonstration program work.

3. Initialize an ePass
(Do this operation at server)

	To use this demonstration program, you must have an initialized ePass.

	We offered a tool(epsAspInit.exe) to initialize ePass. You can find it at %SDKDIR%\Samples\ASP.NET, and you can find the source code at %SDKDIR%\Samples\VC\epsAspInit.

	Attach an ePass at the USB port, run the epsAspInit.exe in directory %SDKDIR%\Samples\ASP.NET, input user name in "Key" area , then click "OK" button, the tool will create key files for this user and save the key files into ePass, and it will create a file named "USER.TXT" at the same directory. Remember the user name and the password.


4. If your operating system is Vista and the client browser is IE7 version or above, please add the ASP.NET sever address (which you set previously) to the trusted sites of client browser.

5. Demonstrate the user authentication procedure
(Do this operation at client)

	If you had finished the configration of web server and initialized the ePass, you can do the user authentication procedure now.


