SetAssertionFileW

This function sets the file location where internal assertions should be written to. If the filename is not set (default) many internal control procedures are not executed and the code will be faster.

Syntax

public const string EngineDLL = @"engine.dll";[DllImport(EngineDLL, EntryPoint = "SetAssertionFileW")]
public static extern void SetAssertionFileW(string fileName);

[DllImport(EngineDLL, EntryPoint = "SetAssertionFileW")]
public static extern void SetAssertionFileW(byte[] fileName);    

Property fileName

Size: 32 bit / 4 byte (reference)
The file name of the file as available in the file system in Unicode (wchar_t *). The given wchar_t array will not be adjusted. The size of each wchar_t element is depending on the OS, both 16 bit / 2 bytes wchar_t elements as well as 32 bit / 4 byte wchar_t elements are recognized and supported.