Skip to content

Commit

Permalink
TLS1.2を使用するように変更した
Browse files Browse the repository at this point in the history
  • Loading branch information
ingen084 committed May 9, 2018
1 parent e8b6541 commit c8c2b1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NecoSenNcvPlugin/NcvPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public class NcvPlugin : IPlugin

public void AutoRun()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

var pluginsMenu = Host.MainForm.MainMenuStrip.Items.OfType<ToolStripMenuItem>().First(mi => mi.Text == "プラグイン(&P)");
var pluginMenu = pluginsMenu.DropDownItems.OfType<ToolStripMenuItem>().First(mi => mi.Text == Name);
using (var reader = new XmlTextReader("https://ingen084.github.io/versioncheck/NECOSenNcvPlugin.xml"))
Expand Down
2 changes: 1 addition & 1 deletion NecoSenNcvPlugin/NecoSenNcvPlugin.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net4</TargetFramework>
<TargetFramework>net45</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" />
Expand Down

0 comments on commit c8c2b1c

Please sign in to comment.