<%
' Declaration variable for property
dim Version
dim MaxFinger, NecessaryNum, SamplesPerFinger, DefaultTimeout
dim SecuLevelForEnroll,SecuLevelForVerify, SecuLevelForIdentify

' Set UCBioBSPCOM object
Set objUCBioBSP 	= Server.CreateObject("UCBioBSPCOM.UCBioBSP")

' Get property of UCBioBSPCOM
Version		= objUCBioBSP.MajorVersion & "." & objUCBioBSP.MinorVersion
MaxFinger = objUCBioBSP.MaxFingersForEnroll
NecessaryNum = objUCBioBSP.NecessaryEnrollNum
SamplesPerFinger = objUCBioBSP.SamplesPerFinger
DefaultTimeout	= objUCBioBSP.DefaultTimeout
SecuLevelForEnroll	= objUCBioBSP.SecurityLevelForEnroll
SecuLevelForVerify	= objUCBioBSP.SecurityLevelForVerify
SecuLevelForIdentify	= objUCBioBSP.SecurityLevelForIdentify

' Release UCBioBSPCOM object
Set objUCBioBSP = nothing
%>


<html>
<body>
<center>
<hr>
<H2>Demo Page for UCBioBSPCOM (ASP)</H2>
Version of BSP: v<%= Version %><br />
<hr>

<p>
<b>1) Init information</b>
<p>
    <table border = 1 cellpadding = 3>
        <tr>
            <th width = 200>
                Info</td>
            <th width = 100>
                Value
            </td>
        </tr>
        <tr>
            <td>
                Max finger for enroll</td>
            <td align=center>
                <%= MaxFinger %>
            </td>
        </tr>
        <tr>
            <td>
                Necessary enroll num</td>
            <td align=center>
                <%= NecessaryNum %>
            </td>
        </tr>
        <tr>
            <td>
                Samples per finger</td>
            <td align=center>
                <%= SamplesPerFinger %>
            </td>
        </tr>
        <tr>
            <td>
                Default timeout (ms)</td>
            <td align=center>
                <%= DefaultTimeout %>
            </td>
        </tr>
        <tr>
            <td>
                Security level for enroll</td>
            <td align=center>
                <%= SecuLevelForEnroll %>
            </td>
        </tr>
        <tr>
            <td>
                Security level for verify</td>
            <td align=center>
                <%= SecuLevelForVerify %>
            </td>
        </tr>
        <tr>
            <td>
                Security level for identify</td>
            <td align=center>
                <%= SecuLevelForIdentify %>
            </td>
        </tr>
    </table>
<br />
<p>
<b>2) Enrollment : </b>
<br><input type=button OnClick="javascript:location.href='enroll.htm';" value=" Click here to enroll your fingerprint ">

</p>
<br />
<p>
<b>3) Verification : </b>
<br><input type=button OnClick="javascript:location.href='verify.htm';" value=" Click here to verify your fingerprint ">
</p>
<br>

<hr>
<font size=2>Copyright  2008. UNION COMMUNITY Co., Ltd.</font>
</center>

</body>
</html>
