create_from_location
Description:
public static Media create_from_location (string location, Cancellable? cancellable = null) 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 |
Returns:
a new Media , or NULL on error |