Click or drag to resize

ModHostIsModInUse Method

Returns true if any mod host currently has the specified mod loaded. This method is used to avoid shared memory corruption which orrurs when the shared mod data is accessed by 2 different mod hosts.

Namespace:  UMod
Assembly:  UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool IsModInUse(
	Uri path
)

Parameters

path
Type: SystemUri
The mod path to check for

Return Value

Type: Boolean
True if the mod path is loaded by any existing mod host
See Also