cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the ML_REMOTE_ID of an UDB in an application?

Former Member
2,396

Hi,

in order to associate a mobile device operating an UDB with a logfile entry like

Request from "UL 16.0.1644" for: remote ID: 8c22b4ff-62aa-441b-a180-a409b75fa1d9, user name: ****, version: MLVER0004

I'd like to show the remote ID in an about box of the application which uses the UDB. Therefore I'm searching for a statement which returns the remote ID from the UDB. The MobiLink usernames are not unique in my project so I cant't use them to identify the device.

Any hints?

TIA, Chris Werner

Accepted Solutions (1)

Accepted Solutions (1)

VolkerBarth
Contributor

I don't use UltraLite but that ID should be available as the "ml_remote_id" database property. It can be accessed (like other database properties) via the according UltraLite API or via SQL:

select db_property('ml_remote_id');
Former Member

Thanks Volker, that is exactly what I was looking for!

Answers (0)