Click or drag to resize

RandomizerExtensionsFillWithRandomValues Method (GCHandle, Int32)

Replaces the values of data in memory with random values. The GC handle will be freed.

Namespace:  Cauldron
Assembly:  Cauldron.Randomizer (in Cauldron.Randomizer.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static void FillWithRandomValues(
	this GCHandle target,
	int targetLength
)

Parameters

target
Type: System.Runtime.InteropServicesGCHandle
targetLength
Type: SystemInt32
The length of the data

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type GCHandle. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Will only work on Pinned
See Also