In the BS structure of the program, how to develop a cross-web browser IC card reader program?
In general, the use of physical hardware in a BS structure program has many limitations, and the OCX control that is addressed through ActiveX technology is only available on IE and cannot be used in Chrome or Firefox. Friends of my technology to provide RFID reader cloud services to completely solve this problem, he can not only use in IE, but also in the Chrome,firefox and other browsers to use.
Friends of my technology RFID Reader Cloud service advantages:
1, the system in a single, local area network, the Internet can be used, as long as the client installed cloud service program on the line.
2, the client supports both net frame3.5 and net frame4.0 and above.
3, the client is compatible with Ie,chrome,firefox,safari,opeara and its related kernel browser.
4, not related to the Web programming language, whether it is asp,php,jsp,aspx,html, are supported.
5, the client uses event-driven (callback function), do not need to occupy the interface thread of time.
6, the client supports a variety of IC card reader, can root demand according to the function of the free choice.
7. Support 64-bit and 128-bit DES encryption and decryption service separately.
8, support 64-bit or 128-bit des plus decrypt read and write data block, process less, more efficient, more secure data.
The IC card operation only need to be simple a word on it. such as writing cards:
function WriteBlock () |
|
|
{ |
|
var Blockid; |
|
var Key; |
|
var Data; |
|
var Deskey; |
|
|
|
Blockid = document.getElementById ("Blockidwrite"). Value; |
|
Key =document.getelementbyid ("Keywrite"). Value; |
|
Data =document.getelementbyid ("Datawrite"). Value; |
|
Deskey =document.getelementbyid ("Deskey"). Value; |
|
|
|
Rfidreader. keymode=0; |
|
Rfidreader. keystringmode=0; |
|
Rfidreader. Keystring=key; |
|
Rfidreader. repeat=0; |
|
|
|
Rfidreader. Desdir=getvaluefromname ("Desdir"); |
|
Rfidreader. Desmode = Getvaluefromname ("Desmode"); |
|
Rfidreader. deskeymode=0; |
|
Rfidreader. Deskey=deskey; |
|
|
|
Rfidreader. M1writeblock (Blockid, data,0); |
|
} |
You can read and write cards by configuring the associated decryption properties.
How to develop an IC card reader program across a Web browser under the BS structure