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.Name = "FNavicat";
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.Load += new System.EventHandler(this.NC_Load);
this.g1.ResumeLayout(false);

@ -504,6 +504,7 @@ namespace Navicat_Keygen_Patch_By_DFoX
byte[] decrypt64rq = null;
dynamic jsonnavicat = null;
string DeviceIdentifier = null;
//string Platform = null;
string snKey = null;
StreamReader stReader = new StreamReader(npk);
PemReader pr = new PemReader(stReader);
@ -545,6 +546,7 @@ namespace Navicat_Keygen_Patch_By_DFoX
{
jsonnavicat = JsonConvert.DeserializeObject<dynamic>(dec);
DeviceIdentifier = jsonnavicat.DI;
//Platform = jsonnavicat.P;
snKey = jsonnavicat.K;
}
}
@ -993,7 +995,7 @@ namespace Navicat_Keygen_Patch_By_DFoX
p.StartInfo.Verb = "runas";
p.StartInfo.Arguments = " \"" + Path.GetDirectoryName(file) + "\"";
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();
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)
{
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;
string ln = ci.Name.ToString().Trim();
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))
{
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">
<value>17, 17</value>
</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">
<value>True</value>
</metadata>

@ -46,8 +46,7 @@
<HintPath>.\BouncyCastle.Crypto.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<Reference Include="Newtonsoft.Json">
<HintPath>.\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
@ -102,9 +101,9 @@
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Newtonsoft.Json.dll" />
<None Include="Resources\NP_x64.exe" />
<None Include="Resources\NP_x32.exe" />
<EmbeddedResource Include="Newtonsoft.Json.dll" />
<EmbeddedResource Include="BouncyCastle.Crypto.dll" />
<Content Include="navicat_MAINICON.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
// usando l'asterisco '*' come illustrato di seguito:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.9.0.0")]
[assembly: AssemblyFileVersion("4.9.0.0")]
[assembly: AssemblyVersion("5.0.0.0")]
[assembly: AssemblyFileVersion("5.0.0.0")]

Loading…
Cancel
Save