개정판 91c7a82a
dev issue #000 : add license
Change-Id: I74d328bb97d1c3116562fad3deb0160e23a13180
DTI_PID/SPPIDConverter/Wrapper/SPPIDConverterWrapper.cs | ||
---|---|---|
24 | 24 |
using Microsoft.Win32; |
25 | 25 |
using Ingr.RAD2D; |
26 | 26 |
using System.Reflection; |
27 |
using DOFTECH; |
|
27 | 28 |
|
28 | 29 |
namespace Converter.SPPID.Wrapper |
29 | 30 |
{ |
... | ... | |
125 | 126 |
{ |
126 | 127 |
RegistryKey key = Registry.LocalMachine; |
127 | 128 |
RegistryKey software = key.OpenSubKey("SOFTWARE"); |
128 |
RegistryKey DOFTECH = software.OpenSubKey("DOFTECH");
|
|
129 |
if (DOFTECH != null)
|
|
129 |
RegistryKey Doftech = software.OpenSubKey("DOFTECH");
|
|
130 |
if (Doftech != null)
|
|
130 | 131 |
{ |
131 |
RegistryKey SPPIDConverter = DOFTECH.OpenSubKey("SPPIDConverter");
|
|
132 |
if (SPPIDConverter != null) |
|
132 |
RegistryKey SPPIDConverter = Doftech.OpenSubKey("SPPIDConverter");
|
|
133 |
if (SPPIDConverter != null && DOFTECH.License.License.IsEnabled())
|
|
133 | 134 |
{ |
134 | 135 |
autoModelingDllPath = SPPIDConverter.GetValue("path") + @"SPPIDConverter.dll"; |
135 | 136 |
#if DEBUG |
내보내기 Unified diff