VpnPluginInfo.search_file


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.4" ) ]
public VpnPluginInfo.search_file (string? name, string? service)

This has the same effect as doing a full list_load followed by a search for the first matching VPN plugin info that has the given name and/or service.

Parameters:

name

the name to search for. Either name or service must be present.

service

the service to search for. Either name or service must be present.

Returns:

a newly created instance of plugin info or null if no matching value was found.