Purpose
Here is a Java Bean that allows to get some client machine information.

The Java code
ClientInfos.java
The implementation class of the Bean Item
oracle.forms.fd.ClientInfos
The methods you
can get
Get all client information
Get_Custom_Property('BLOCK.ITEM',1,'GET_CLIENT_INFOS');
e.g.:
-- get all information --
:BL.INFOS := Get_Custom_Property('BL.BEAN', 1, 'GET_CLIENT_INFOS' ) ;
Get a particular client
information
Get_Custom_Property('BLOCK.ITEM',1,'property');
where property could be one of the following:
OPERATING : Operating System
ARCHITECTURE : architecture
OSVERSION : OS version
IP : IP address
MAC : MAC address
JAVAVERSION : Java version
JAVAVENDOR : Java vendor
JAVAVENDORURL : Java vendor URL
JAVAHOME : Java vendor home page
JAVAVMSPECIFICATIONVERSION : Virtual machine version
JAVAVMSPECIFICATIONVENDOR : Virtual machine vendor
JAVAVMSPECIFICATIONNAME : Virtual machine name
USERNAME : user name
USERHOME : user home
e.g.:
-- get MAC address --
:BL.INFOS := Get_Custom_Property('BL.BEAN', 1, 'MAC' ) ;
Aucun commentaire pour cet article