V5.0 Released

1) Update Newtonsoft.Json Library
2) Increase Timeout for Patching
3) Minor Bug Fix
master v5.0
DeltaFoX79 6 years ago
parent bb9b8fea34
commit 5125abbcd2

@ -809,7 +809,7 @@
this.MinimumSize = new System.Drawing.Size(594, 621); this.MinimumSize = new System.Drawing.Size(594, 621);
this.Name = "FNavicat"; this.Name = "FNavicat";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Navicat Products - Patch/Keygen v4.9"; this.Text = "Navicat Products - Patch/Keygen v{0}.{1}";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FNavicat_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FNavicat_FormClosing);
this.Load += new System.EventHandler(this.NC_Load); this.Load += new System.EventHandler(this.NC_Load);
this.g1.ResumeLayout(false); this.g1.ResumeLayout(false);

@ -504,6 +504,7 @@ namespace Navicat_Keygen_Patch_By_DFoX
byte[] decrypt64rq = null; byte[] decrypt64rq = null;
dynamic jsonnavicat = null; dynamic jsonnavicat = null;
string DeviceIdentifier = null; string DeviceIdentifier = null;
//string Platform = null;
string snKey = null; string snKey = null;
StreamReader stReader = new StreamReader(npk); StreamReader stReader = new StreamReader(npk);
PemReader pr = new PemReader(stReader); PemReader pr = new PemReader(stReader);
@ -545,6 +546,7 @@ namespace Navicat_Keygen_Patch_By_DFoX
{ {
jsonnavicat = JsonConvert.DeserializeObject<dynamic>(dec); jsonnavicat = JsonConvert.DeserializeObject<dynamic>(dec);
DeviceIdentifier = jsonnavicat.DI; DeviceIdentifier = jsonnavicat.DI;
//Platform = jsonnavicat.P;
snKey = jsonnavicat.K; snKey = jsonnavicat.K;
} }
} }
@ -993,7 +995,7 @@ namespace Navicat_Keygen_Patch_By_DFoX
p.StartInfo.Verb = "runas"; p.StartInfo.Verb = "runas";
p.StartInfo.Arguments = " \"" + Path.GetDirectoryName(file) + "\""; p.StartInfo.Arguments = " \"" + Path.GetDirectoryName(file) + "\"";
p.Start(); p.Start();
using (var timer = new System.Threading.Timer(delegate { tp(); }, null, 30000, Timeout.Infinite)) using (var timer = new System.Threading.Timer(delegate { tp(); }, null, 60000, Timeout.Infinite))
{ {
string error = p.StandardOutput.ReadToEnd(); string error = p.StandardOutput.ReadToEnd();
if (error.Contains("Patch has been done successfully")) if (error.Contains("Patch has been done successfully"))
@ -1244,6 +1246,8 @@ namespace Navicat_Keygen_Patch_By_DFoX
private void NC_Load(object sender, EventArgs e) private void NC_Load(object sender, EventArgs e)
{ {
this.Icon = ico; this.Icon = ico;
Version version = Assembly.GetExecutingAssembly().GetName().Version;
this.Text = String.Format("Navicat Products - Patch/Keygen v{0}.{1}", version.Major, version.Minor);
CultureInfo ci = CultureInfo.InstalledUICulture; CultureInfo ci = CultureInfo.InstalledUICulture;
string ln = ci.Name.ToString().Trim(); string ln = ci.Name.ToString().Trim();
for (int cmm = 0; cmm < 0xFF + 1; cmm++) for (int cmm = 0; cmm < 0xFF + 1; cmm++)
@ -1390,7 +1394,7 @@ namespace Navicat_Keygen_Patch_By_DFoX
{ {
using (StreamWriter stream = new StreamWriter(hostPath, true, Encoding.Default)) using (StreamWriter stream = new StreamWriter(hostPath, true, Encoding.Default))
{ {
stream.WriteLine(Environment.NewLine + cosascrivere); stream.WriteLine(cosascrivere);
} }
} }
} }

@ -120,6 +120,9 @@
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>

@ -46,8 +46,7 @@
<HintPath>.\BouncyCastle.Crypto.dll</HintPath> <HintPath>.\BouncyCastle.Crypto.dll</HintPath>
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\Newtonsoft.Json.dll</HintPath> <HintPath>.\Newtonsoft.Json.dll</HintPath>
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>
@ -102,9 +101,9 @@
</Compile> </Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Newtonsoft.Json.dll" />
<None Include="Resources\NP_x64.exe" /> <None Include="Resources\NP_x64.exe" />
<None Include="Resources\NP_x32.exe" /> <None Include="Resources\NP_x32.exe" />
<EmbeddedResource Include="Newtonsoft.Json.dll" />
<EmbeddedResource Include="BouncyCastle.Crypto.dll" /> <EmbeddedResource Include="BouncyCastle.Crypto.dll" />
<Content Include="navicat_MAINICON.ico" /> <Content Include="navicat_MAINICON.ico" />
<None Include="Resources\MongoDB.ico" /> <None Include="Resources\MongoDB.ico" />

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build // È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
// usando l'asterisco '*' come illustrato di seguito: // usando l'asterisco '*' come illustrato di seguito:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.9.0.0")] [assembly: AssemblyVersion("5.0.0.0")]
[assembly: AssemblyFileVersion("4.9.0.0")] [assembly: AssemblyFileVersion("5.0.0.0")]

Loading…
Cancel
Save