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


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: 64 bit / 8 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.