get_secret_flags
Description:
[ Version ( deprecated = true , deprecated_since = "1.2" ) ]
public static bool get_secret_flags (HashTable<void*,void*> data, string secret_name, out SettingSecretFlags out_flags)
public static bool get_secret_flags (HashTable<void*,void*> data, string secret_name, out SettingSecretFlags out_flags)
Warning: get_secret_flags is deprecated since 1.2.
Given a VPN secret key name, attempts to find the corresponding flags data item in data
.
Note:
Replaced by NMVpnServicePlugin.
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 |
Returns:
true if the flag data item was found and successfully converted to flags, false if not |