At 3:08 PM -0800 12/8/99, Jim Schram wrote:
>At 11:56 PM +0100 1999/12/08, Eric VERGNAUD wrote:
> >What I've done is a SysBatteryInfo. On my version of POSE it returns 327.
> >The chances that the same value is returned on a device are very poor. But
> >can I be 100% sure that POSE will always return this value ?
>
>Palm Computing will definitely NOT guarantee this behavior in future 
>versions of POSE. However, for existing compilations...
>
>Be aware that SysBatteryInfo is equally trivial to spoof, therefore 
>it's no more or less reliable than the feature, and you've now told 
>the world how to fool your app. Oops... :oS

How about this idea:  use SysBatteryInfo and/or FtrGet('pose') for 
the initial test.  If the first attempt says you're running on POSE, 
then try to use the HostControl stuff to, say, open and then close a 
file on the host.  Still not completely unspoofable, but starts to 
get harder to mess with.

----
Hal Mueller                [EMAIL PROTECTED]
Mobile Geographics LLC
Seattle, Washington        (206) 297-9575
 

Reply via email to