Click or drag to resize

ModuleInitializerRun Method

Run : VIZCore3D.NET 구동에 필요한 Library를 초기화 합니다.

Namespace:  VIZCore3D.NET
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public static void Run()
Examples
C#
// 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();
}
See Also