Click or drag to resize

IconUtilitiesSaveAsDll Method (Assembly, String, String, Int32, Int32, Boolean)

Writes a .NET .ICO embedded resource (possibly containing multiple sizes) into a Win32 resource-only .DLL file. The output format is always PNG / ARGB (32-bit).

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void SaveAsDll(
	Assembly assembly,
	string resourcePath,
	string filePath,
	int resourceId,
	int language,
	bool deleteExisting
)

Parameters

assembly
Type: System.ReflectionAssembly
The input assembly.
resourcePath
Type: SystemString
The .ICO embedded resource path.
filePath
Type: SystemString
The target .DLL file path.
resourceId
Type: SystemInt32
The Win32 resource identifier.
language
Type: SystemInt32
The language. Use 1033 for en-US.
deleteExisting
Type: SystemBoolean
If set to true the target.DLL path will always be overwritten; otherwise, existing icons will be preserved.
See Also