The LaygoLib class encapsulates access to the LayGO Dynamic Loading API. A LayGO library must be loaded using the LaygoLib class before any LayGO API functions can be used.
using LaygoApi; [STAThread] private static void Main(string [] args) { int next = 0; if (LaygoLib.TagToType(args[next])) { next++; } try { LaygoLib.Load(); UseLaygo(args, next); LaygoLib.Unload(); } catch (FileLoadException ex) { LogException("Exception: " + ex.Message); } }