Hi, I used sntl_admin_context_new_scope to check if the Sentinel
Master Key is present and all works fine. The problem is that this
function check the presence of the master key in all of my network like
a Sentinel Net key. What I want is check is the Master key in connected
to the local pc, where I run my program.
My snippet to check the master key:
- const char *pScopeMaster = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
- "<haspscope>"
- "<host>localhost</host>"
- "</haspscope>";
-
- sntl_admin_status_t status_admin;
- status_admin = sntl_admin_context_new_scope(&pContext, pScopeMaster);
status_admin is ever "SNTL_ADMIN_STATUS_OK", if I use
this snippet in a PC without a local master key connected but with a
master key connected to the network...
Any idea?