diff --git a/Navicat_Keygen_Patch_By_DFoX/NC.Designer.cs b/Navicat_Keygen_Patch_By_DFoX/NC.Designer.cs index bd7cd99..c1f454b 100644 --- a/Navicat_Keygen_Patch_By_DFoX/NC.Designer.cs +++ b/Navicat_Keygen_Patch_By_DFoX/NC.Designer.cs @@ -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); diff --git a/Navicat_Keygen_Patch_By_DFoX/NC.cs b/Navicat_Keygen_Patch_By_DFoX/NC.cs index 86d00e9..1cce156 100644 --- a/Navicat_Keygen_Patch_By_DFoX/NC.cs +++ b/Navicat_Keygen_Patch_By_DFoX/NC.cs @@ -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(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); } } } diff --git a/Navicat_Keygen_Patch_By_DFoX/NC.resx b/Navicat_Keygen_Patch_By_DFoX/NC.resx index 1a33e61..b965a76 100644 --- a/Navicat_Keygen_Patch_By_DFoX/NC.resx +++ b/Navicat_Keygen_Patch_By_DFoX/NC.resx @@ -120,6 +120,9 @@ 17, 17 + + 17, 17 + True diff --git a/Navicat_Keygen_Patch_By_DFoX/Navicat_Keygen_Patch_By_DFoX.csproj b/Navicat_Keygen_Patch_By_DFoX/Navicat_Keygen_Patch_By_DFoX.csproj index 20e9f7c..6a4ec8d 100644 --- a/Navicat_Keygen_Patch_By_DFoX/Navicat_Keygen_Patch_By_DFoX.csproj +++ b/Navicat_Keygen_Patch_By_DFoX/Navicat_Keygen_Patch_By_DFoX.csproj @@ -46,8 +46,7 @@ .\BouncyCastle.Crypto.dll False - - False + .\Newtonsoft.Json.dll False @@ -102,9 +101,9 @@ + - diff --git a/Navicat_Keygen_Patch_By_DFoX/Newtonsoft.Json.dll b/Navicat_Keygen_Patch_By_DFoX/Newtonsoft.Json.dll index 5b3a1eb..05c95b2 100644 Binary files a/Navicat_Keygen_Patch_By_DFoX/Newtonsoft.Json.dll and b/Navicat_Keygen_Patch_By_DFoX/Newtonsoft.Json.dll differ diff --git a/Navicat_Keygen_Patch_By_DFoX/Properties/AssemblyInfo.cs b/Navicat_Keygen_Patch_By_DFoX/Properties/AssemblyInfo.cs index 9e0e486..bb2087d 100644 --- a/Navicat_Keygen_Patch_By_DFoX/Properties/AssemblyInfo.cs +++ b/Navicat_Keygen_Patch_By_DFoX/Properties/AssemblyInfo.cs @@ -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")]