UtilResourceExtractResourceToDisk Method

Extracts a resource to disk.

Definition

Namespace: DevCase.Core.Application.Resources
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void ExtractResourceToDisk(
	byte[] resource,
	string targetFilepath,
	bool overwrite = false
)

Parameters

resource  Byte
The resource to extract.
targetFilepath  String
The target filepath where to save the resource data.
overwrite  Boolean  (Optional)
If set to , overwites any existing file, otherwise, if the file already exists, a IOException exception is thrown.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also