create_from_location_with_flags


Description:

[ Version ( since = "1.6.0" ) ]
public static Media create_from_location_with_flags (string location, Cancellable? cancellable, uint flags) throws Error

Creates a new Media for installation media at location.

The location could be a http:// or a https:// URI or a local path.

NOTE: Currently this only works for ISO images/devices.

Parameters:

location

the location of an installation media

cancellable

a Cancellable, or null

flags

An OsinfoMediaDetectFlag, or 0.

Returns:

a new Media , or NULL on error