IOUtilitiesExtractAssemblyResource Method |
Extracts a resource from an assembly to a file.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static string ExtractAssemblyResource(
Assembly assembly,
string directoryPath,
string name,
bool refresh = false
)
Parameters
- assembly
- Type: System.ReflectionAssembly
The assembly. - directoryPath
- Type: SystemString
The directory path where to store the extracted data file. - name
- Type: SystemString
The resource name. - refresh (Optional)
- Type: SystemBoolean
if set to true the file will be overwritten even if it already exists.
Return Value
Type:
StringThe extracted data file path.
Exceptions See Also