ModuleInitializerRun Method |
Namespace: VIZCore3D.NET
public static void Run()
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example1() { string assemblyPath = VIZCore3D.NET.ModuleInitializer.GetAssemblyLocation(); string entryAssemblyPath = VIZCore3D.NET.ModuleInitializer.GetEntryAssemblyLocation(); string assemblyVersion = VIZCore3D.NET.ModuleInitializer.GetLibraryVersion(); string interopVersion = VIZCore3D.NET.ModuleInitializer.GetInteropLibraryVersion(); bool compareVersion = VIZCore3D.NET.ModuleInitializer.CompareVersion(); bool existLibrary = VIZCore3D.NET.ModuleInitializer.ExistLibrary(); // Initialize VIZCore3D.NET // Extract Library by Condition if (existLibrary == false || compareVersion == false) VIZCore3D.NET.ModuleInitializer.Run(); } private void Example2() { // Initialize VIZCore3D.NET // Extract Library Always VIZCore3D.NET.ModuleInitializer.Run(); }