SetAssertionFile

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 = "SetAssertionFile")]
public static extern void SetAssertionFile(string fileName);

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

Property fileName

Size: 32 bit / 4 byte (reference)
The file name of the file as available in the file system in ASCII (char *). The given char array will not be adjusted, on each OS the size of a char element is 8 bit / 1 byte.