프로젝트

일반

사용자정보

개정판 a03e9271

IDa03e92718bf850b51f6f27d1570f7359593ba3c5
상위 9889986a
하위 20dd244c

gaqhf 이(가) 약 5년 전에 추가함

dev issue #000 : edit License

Change-Id: I95d8d5b708c302d51a309f908382166e217e3104

차이점 보기:

DTI_PID/SPPIDConverter/License.cs
34 34

  
35 35
                        if (string.IsNullOrEmpty(data))
36 36
                        {
37
                            if (SPPIDConverter.GetValue("Version") == null)
38
                            {
39
                                SPPIDConverter.SetValue("Version", "U");
40
                                data = "Date:" + DateTime.Today.ToShortDateString();
41
                                data = Crypt.encrypt(data, "dof1073#");
42
                                File.WriteAllText(path, data);
43
                                result = true;
44
                            }
45
                        }
46
                        else
47
                        {
48
                            DateTime dataTime = DateTime.MinValue;
37
                            DateTime dataTime = new DateTime(2000, 1, 1);
49 38
                            DateTime currentTime = DateTime.Now;
50
                            if (DateTime.TryParse(data, out dataTime) && DateTime.Compare(dataTime.AddDays(14), currentTime) >= 0)
39
                            if (DateTime.TryParse(Converter.SPPID.Properties.Resources.lic, out dataTime) && DateTime.Compare(dataTime.AddDays(14), currentTime) >= 0)
51 40
                                result = true;
52
                                
53 41
                        }
54 42
                    }
55 43
                    else if (data.StartsWith("Absolute:"))
DTI_PID/SPPIDConverter/Properties/Resources.Designer.cs
81 81
        }
82 82
        
83 83
        /// <summary>
84
        ///   2019-11-14 15:39:22.92 
85
        ///과(와) 유사한 지역화된 문자열을 찾습니다.
86
        /// </summary>
87
        internal static string lic {
88
            get {
89
                return ResourceManager.GetString("lic", resourceCulture);
90
            }
91
        }
92
        
93
        /// <summary>
84 94
        ///   System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
85 95
        /// </summary>
86 96
        internal static System.Drawing.Bitmap pencolor_16x16 {
DTI_PID/SPPIDConverter/Properties/Resources.resx
130 130
  <data name="ToolbarImage" type="System.Resources.ResXFileRef, System.Windows.Forms">
131 131
    <value>..\Resources\ToolbarImage.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
132 132
  </data>
133
  <data name="lic" type="System.Resources.ResXFileRef, System.Windows.Forms">
134
    <value>..\Resources\lic.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;ks_c_5601-1987</value>
135
  </data>
133 136
</root>
DTI_PID/SPPIDConverter/SPPIDConverter.csproj
391 391
  <ItemGroup>
392 392
    <None Include="Resources\logo_color.png" />
393 393
  </ItemGroup>
394
  <ItemGroup />
394
  <ItemGroup>
395
    <None Include="Resources\lic.txt" />
396
  </ItemGroup>
395 397
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
396 398
  <Import Project="..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" />
397 399
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
......
400 402
    </PropertyGroup>
401 403
    <Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets'))" />
402 404
  </Target>
405
  <PropertyGroup>
406
    <PreBuildEvent>echo %25date%25 %25time%25 &gt; "$(ProjectDir)\Resources\lic.txt"</PreBuildEvent>
407
  </PropertyGroup>
403 408
</Project>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)