# ePass 1000 Active Control
Demo Program for ASP.NET

## 1. Overview

Welcome to ePass 1000 Active Control demonstration program for ASP.NET.

Please find following how to use this demonstration program:

1. Make the demonstration program work.
2. Initialize an ePass.
3. Demonstrate the user authentication procedure.

In this document, "%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.NET demonstration files for this demonstration program.

In the following explaination, 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 "asp.net test" and point to %SDKDIR%\Samples\ASP.NET in your 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.

Insert an ePass into the USB port, run the epsAspInit.exe in directory %SDKDIR%\Samples\ASP.NET, input Key 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. Client Browser Setting

(Do this operation at client)

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.

To do this, click here(logon.aspx) to logon.

Create by Zhu Yangsheng, 05-23-2003

Copyright© 2000-2001,Feitian Tech. Co. Ltd.