release 118 and some changes to 119 around auth / tls and properly display message on fail to test connect
This commit is contained in:
@@ -63,6 +63,9 @@ namespace AyaNova.PlugIn.V8
|
||||
|
||||
private void Auth_Load(object sender, EventArgs e)
|
||||
{
|
||||
//case 3875
|
||||
System.Net.ServicePointManager.SecurityProtocol = (System.Net.SecurityProtocolType)3072;
|
||||
|
||||
lblPreRelease.Text = util.PRE_RELEASE_VERSION_STRING;
|
||||
#if (DEBUG)
|
||||
edServerUrl.Text = "192.168.1.56:7575";
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace AyaNova.PlugIn.V8
|
||||
|
||||
public string PluginVersion
|
||||
{
|
||||
get { return "7.6.1-alpha.118"; }
|
||||
get { return "7.6.1-alpha.119"; }
|
||||
}
|
||||
|
||||
public string About
|
||||
@@ -278,7 +278,7 @@ namespace AyaNova.PlugIn.V8
|
||||
/// </summary>
|
||||
private async void DoExport()
|
||||
{
|
||||
|
||||
|
||||
//Show progress form
|
||||
ProgressForm progress = new ProgressForm();
|
||||
progress.Show();
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace AyaNova.PlugIn.V8
|
||||
// client.Timeout = tsDefault;
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
|
||||
|
||||
return "OK";
|
||||
}
|
||||
else
|
||||
@@ -96,7 +96,12 @@ namespace AyaNova.PlugIn.V8
|
||||
return "Failed: " + response.StatusCode.ToString();
|
||||
}
|
||||
}
|
||||
catch { return "Failed"; }
|
||||
catch (Exception ex)
|
||||
{
|
||||
while (ex.InnerException != null)
|
||||
ex = ex.InnerException;
|
||||
return "Failed exception: \n" + ex.Message;
|
||||
}
|
||||
|
||||
|
||||
// return "failed";
|
||||
|
||||
Reference in New Issue
Block a user