get_secret_flags


Description:

public static bool get_secret_flags (HashTable<void*,void*> data, string secret_name, out SettingSecretFlags out_flags)

Given a VPN secret key name, attempts to find the corresponding flags data item in data.

If found, converts the flags data item to SettingSecretFlags and returns it.

Parameters:

data

hash table containing VPN key/value pair data items

secret_name

VPN secret key name for which to retrieve flags for

out_flags

on success, the flags associated with secret_name

Returns:

true if the flag data item was found and successfully converted to flags, false if not