GetLibraryIdentifier

Returns an identifier for the current instance of this library including date stamp and revision number.

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "GetLibraryIdentifier")]
public static extern IntPtr x86_GetLibraryIdentifier(out IntPtr libraryIdentifier);

[DllImport(enginedll, EntryPoint = "GetLibraryIdentifier")]
public static extern IntPtr x64_GetLibraryIdentifier(out IntPtr libraryIdentifier);

public static IntPtr GetLibraryIdentifier(out IntPtr libraryIdentifier)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_GetLibraryIdentifier(out IntPtr _libraryIdentifier);
				libraryIdentifier = _libraryIdentifier;
				return _result;
			}
			else
			{
				return x64_GetLibraryIdentifier(out libraryIdentifier);
			}
		}    

Property libraryIdentifier

Size: 64 bit / 8 byte (reference)
The identifier as string that represents the current library.