VpnPluginInfo.from_file


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.2" ) ]
public VpnPluginInfo.from_file (string filename) throws Error

Read the plugin info from file filename.

Does not do any further verification on the file. You might want to check file permissions and ownership of the file.

Parameters:

filename

filename to read.

Returns:

null if there is any error or a newly created VpnPluginInfo instance.