FileDemo is a console program for Windows 98/2000/XP/Vista.

This program demonstrates how to use the file operation function in ePass1000 SDK.

  >> Create a context handle of ePass.
  >> Search an unused device and open it.
  >> Create a file for demo.
  >> Let the user input some charaters.
  >> Write the user's input to the demo file.
  >> Close the demo file.
  >> Open the demo file again.
  >> Read all data from the demo file and show them on the screen.
  >> Delete the demo file.
  >> Close device.
  >> Delete context handle.

[notice1]: This sample need to verify user authority when create a dir, please sure token's create authority is "Anyone".