Table of Contents

Method ExtractResourcesSafe

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ExtractResourcesSafe(string, string[], string)

Extracts multiple resources from the specified URL and saves them to the given destination folder. Returns true if all operations succeed, otherwise false.

public static bool ExtractResourcesSafe(string url, string[] fileNames, string destFolder)

Parameters

url string

The base URL of the resources to extract.

fileNames string[]

An array of file names to extract from the base URL.

destFolder string

The destination folder where the resources will be saved.

Returns

bool

True if all resources are successfully extracted and saved, otherwise false.