diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..dfe0770
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Auto detect text files and perform LF normalization
+* text=auto
diff --git a/.vs/AntiSpamAttachment/v17/.suo b/.vs/AntiSpamAttachment/v17/.suo
new file mode 100644
index 0000000..2a15442
Binary files /dev/null and b/.vs/AntiSpamAttachment/v17/.suo differ
diff --git a/AntiSpamAttachment.sln b/AntiSpamAttachment.sln
new file mode 100644
index 0000000..0bdff85
--- /dev/null
+++ b/AntiSpamAttachment.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.1.32210.238
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntiSpamAttachment", "AntiSpamAttachment\AntiSpamAttachment.csproj", "{C827CE96-0EC0-440C-A8D8-9F81C9F514D8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C827CE96-0EC0-440C-A8D8-9F81C9F514D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C827CE96-0EC0-440C-A8D8-9F81C9F514D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C827CE96-0EC0-440C-A8D8-9F81C9F514D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C827CE96-0EC0-440C-A8D8-9F81C9F514D8}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {90E770EE-70A5-4E6C-8D99-F9B067E4781B}
+ EndGlobalSection
+EndGlobal
diff --git a/AntiSpamAttachment/AntiSpamAttachment.csproj b/AntiSpamAttachment/AntiSpamAttachment.csproj
new file mode 100644
index 0000000..ea50fac
--- /dev/null
+++ b/AntiSpamAttachment/AntiSpamAttachment.csproj
@@ -0,0 +1,89 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {C827CE96-0EC0-440C-A8D8-9F81C9F514D8}
+ WinExe
+ AntiSpamAttachment
+ AntiSpamAttachment
+ v3.5
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
\ No newline at end of file
diff --git a/AntiSpamAttachment/App.xaml b/AntiSpamAttachment/App.xaml
new file mode 100644
index 0000000..831dc36
--- /dev/null
+++ b/AntiSpamAttachment/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/AntiSpamAttachment/App.xaml.cs b/AntiSpamAttachment/App.xaml.cs
new file mode 100644
index 0000000..61c17e8
--- /dev/null
+++ b/AntiSpamAttachment/App.xaml.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Windows;
+
+namespace AntiSpamAttachment
+{
+ ///
+ /// App.xaml の相互作用ロジック
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/AntiSpamAttachment/MainWindow.xaml b/AntiSpamAttachment/MainWindow.xaml
new file mode 100644
index 0000000..24b9f20
--- /dev/null
+++ b/AntiSpamAttachment/MainWindow.xaml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AntiSpamAttachment/MainWindow.xaml.cs b/AntiSpamAttachment/MainWindow.xaml.cs
new file mode 100644
index 0000000..4d9c120
--- /dev/null
+++ b/AntiSpamAttachment/MainWindow.xaml.cs
@@ -0,0 +1,91 @@
+using System;
+using System.Reflection;
+using System.Windows;
+
+
+namespace AntiSpamAttachment
+{
+ ///
+ /// MainWindow.xaml の相互作用ロジック
+ ///
+ public partial class MainWindow : Window
+ {
+ public double version;
+
+ public MainWindow()
+ {
+ InitializeComponent();
+ // Excelでバージョンチェック
+ double version = checkOffice("Excel.Application");
+ bool isEmptyRegistry = LoadRegistry(version);
+ if(isEmptyRegistry)
+ {
+ MessageBox.Show("既にブロックする拡張子が設定済みです。\r\nその他の拡張子を設定する場合は続行してください。");
+ }
+ else
+ {
+ MessageBox.Show("ブロックする拡張子を入力して「実行」ボタンを押してください。");
+ }
+ }
+
+ private double checkOffice(string applicationID)
+ {
+ var type = Type.GetTypeFromProgID(applicationID);
+ var application = Activator.CreateInstance(type);
+ if(application == null)
+ {
+ MessageBox.Show("Officeがインストールされていないか、検出出来ませんでした。\r\nシステムを終了します。");
+ Application.Current.Shutdown();
+ return 0;
+ }
+ else
+ {
+ var ver = application.GetType().InvokeMember("Version", BindingFlags.GetProperty, null, application, null);
+ Double.TryParse(ver.ToString(), out version);
+ if (version >= 14.0)
+ {
+ // Office2010以降がインストール済みの場合
+ return version;
+ }
+ else
+ {
+ // Office 2000より前のバージョン
+ MessageBox.Show("本ソフトウェアのサポート対象外のOfficeです。システムを終了します。");
+ Application.Current.Shutdown();
+ return 0;
+ }
+ }
+ }
+
+ private bool LoadRegistry(double version)
+ {
+
+ Microsoft.Win32.RegistryKey regkey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Office\" + version + @".0\Outlook\Security\", false);
+ string check = (string)regkey.GetValue("Level1Add");
+ regkey.Close();
+ if(check != null)
+ {
+ extensions.Text = check;
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+
+ }
+
+ private void submit_Click(object sender, RoutedEventArgs e)
+ {
+ string extension = extensions.Text;
+ Microsoft.Win32.RegistryKey regkey = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Office\" + version + @".0\Outlook\Security\");
+ regkey.SetValue("Level1Add", extension);
+ regkey.Close();
+ MessageBox.Show("変更を適用しました。\r\n この機能は次回Outlookを再起動した際に有効になります。\r\n現在Outlookが起動している場合は一度終了してから再度起動してください。");
+
+ }
+
+
+ }
+
+}
diff --git a/AntiSpamAttachment/Properties/AssemblyInfo.cs b/AntiSpamAttachment/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..8f5c4d1
--- /dev/null
+++ b/AntiSpamAttachment/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
+// アセンブリに関連付けられている情報を変更するには、
+// これらの属性値を変更してください。
+[assembly: AssemblyTitle("AntiSpamAttachment")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("AntiSpamAttachment")]
+[assembly: AssemblyCopyright("Copyright © 2022")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから
+// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、
+// その型の ComVisible 属性を true に設定してください。
+[assembly: ComVisible(false)]
+
+//ローカライズ可能なアプリケーションのビルドを開始するには、
+//.csproj ファイルの CultureYouAreCodingWith を
+// 内部で設定します。たとえば、
+//ソース ファイルで英語を使用している場合、 を en-US に設定します。次に、
+//下の NeutralResourceLanguage 属性のコメントを解除します。下の行の "en-US" を
+//プロジェクト ファイルの UICulture 設定と一致するよう更新します。
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //テーマ固有のリソース ディクショナリが置かれている場所
+ //(リソースがページ、
+ // またはアプリケーション リソース ディクショナリに見つからない場合に使用されます)
+ ResourceDictionaryLocation.SourceAssembly //汎用リソース ディクショナリが置かれている場所
+ //(リソースがページ、
+ //アプリケーション、またはいずれのテーマ固有のリソース ディクショナリにも見つからない場合に使用されます)
+)]
+
+
+// アセンブリのバージョン情報は次の 4 つの値で構成されています:
+//
+// メジャー バージョン
+// マイナー バージョン
+// ビルド番号
+// リビジョン
+//
+// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます
+// 既定値にすることができます:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/AntiSpamAttachment/Properties/Resources.Designer.cs b/AntiSpamAttachment/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..5f6b82c
--- /dev/null
+++ b/AntiSpamAttachment/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、正しくない動作の原因になったり、
+// コードが再生成されるときに失われたりします。
+//
+//------------------------------------------------------------------------------
+
+namespace AntiSpamAttachment.Properties
+{
+
+
+ ///
+ /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。
+ ///
+ // このクラスは StronglyTypedResourceBuilder クラスによって ResGen
+ // または Visual Studio のようなツールを使用して自動生成されました。
+ // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
+ // ResGen を実行し直すか、または VS プロジェクトをリビルドします。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// このクラスで使用されるキャッシュされた ResourceManager インスタンスを返します。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AntiSpamAttachment.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします
+ /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/AntiSpamAttachment/Properties/Resources.resx b/AntiSpamAttachment/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/AntiSpamAttachment/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/AntiSpamAttachment/Properties/Settings.Designer.cs b/AntiSpamAttachment/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..2149879
--- /dev/null
+++ b/AntiSpamAttachment/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace AntiSpamAttachment.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/AntiSpamAttachment/Properties/Settings.settings b/AntiSpamAttachment/Properties/Settings.settings
new file mode 100644
index 0000000..033d7a5
--- /dev/null
+++ b/AntiSpamAttachment/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/AntiSpamAttachment/bin/Debug/AntiSpamAttachment.exe b/AntiSpamAttachment/bin/Debug/AntiSpamAttachment.exe
new file mode 100644
index 0000000..a464cec
Binary files /dev/null and b/AntiSpamAttachment/bin/Debug/AntiSpamAttachment.exe differ
diff --git a/AntiSpamAttachment/bin/Debug/AntiSpamAttachment.pdb b/AntiSpamAttachment/bin/Debug/AntiSpamAttachment.pdb
new file mode 100644
index 0000000..9c95b5c
Binary files /dev/null and b/AntiSpamAttachment/bin/Debug/AntiSpamAttachment.pdb differ
diff --git a/AntiSpamAttachment/bin/Release/AntiSpamAttachment.exe b/AntiSpamAttachment/bin/Release/AntiSpamAttachment.exe
new file mode 100644
index 0000000..299946c
Binary files /dev/null and b/AntiSpamAttachment/bin/Release/AntiSpamAttachment.exe differ
diff --git a/AntiSpamAttachment/bin/Release/AntiSpamAttachment.pdb b/AntiSpamAttachment/bin/Release/AntiSpamAttachment.pdb
new file mode 100644
index 0000000..98a584e
Binary files /dev/null and b/AntiSpamAttachment/bin/Release/AntiSpamAttachment.pdb differ
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.Properties.Resources.resources b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.Properties.Resources.resources
new file mode 100644
index 0000000..06c24d0
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.Properties.Resources.resources differ
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.AssemblyReference.cache b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..04e1194
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.AssemblyReference.cache differ
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.CoreCompileInputs.cache b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..96d101a
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+c7c0f131cac4de44f8b6b1715a6a6f4a780560c1
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.FileListAbsolute.txt b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..4fc8f63
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.FileListAbsolute.txt
@@ -0,0 +1,14 @@
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\bin\Debug\AntiSpamAttachment.exe
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\bin\Debug\AntiSpamAttachment.pdb
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment.csproj.AssemblyReference.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\MainWindow.g.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\App.g.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment_MarkupCompile.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment_MarkupCompile.lref
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\MainWindow.baml
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment.g.resources
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment.Properties.Resources.resources
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment.csproj.GenerateResource.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment.csproj.CoreCompileInputs.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment.exe
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\AntiSpamAttachment.pdb
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.GenerateResource.cache b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.GenerateResource.cache
new file mode 100644
index 0000000..31e68f5
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.csproj.GenerateResource.cache differ
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.exe b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.exe
new file mode 100644
index 0000000..a464cec
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.exe differ
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.g.resources b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.g.resources
new file mode 100644
index 0000000..653f877
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.g.resources differ
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.pdb b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.pdb
new file mode 100644
index 0000000..9c95b5c
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment.pdb differ
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.cache b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.cache
new file mode 100644
index 0000000..c778cd9
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.cache
@@ -0,0 +1,20 @@
+AntiSpamAttachment
+
+
+winexe
+C#
+.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\
+AntiSpamAttachment
+none
+false
+DEBUG;TRACE
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\App.xaml
+1219584333
+
+51579654133
+10-1192249692
+MainWindow.xaml;
+
+False
+
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.i.cache b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.i.cache
new file mode 100644
index 0000000..414e125
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.i.cache
@@ -0,0 +1,20 @@
+AntiSpamAttachment
+
+
+winexe
+C#
+.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Debug\
+AntiSpamAttachment
+none
+false
+DEBUG;TRACE
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\App.xaml
+1219584333
+
+51579654133
+10-1192249692
+MainWindow.xaml;
+
+True
+
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.i.lref b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.i.lref
new file mode 100644
index 0000000..5c13ff7
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.i.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\MainWindow.xaml;;
+
diff --git a/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.lref b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.lref
new file mode 100644
index 0000000..5c13ff7
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/AntiSpamAttachment_MarkupCompile.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\MainWindow.xaml;;
+
diff --git a/AntiSpamAttachment/obj/Debug/App.g.cs b/AntiSpamAttachment/obj/Debug/App.g.cs
new file mode 100644
index 0000000..325329a
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/App.g.cs
@@ -0,0 +1,69 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9A73CE29F894A29531858E9A6A2392381E892BFCD4C7B2BBEC7B77199040C2E9"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ AntiSpamAttachment.App app = new AntiSpamAttachment.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Debug/App.g.i.cs b/AntiSpamAttachment/obj/Debug/App.g.i.cs
new file mode 100644
index 0000000..325329a
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/App.g.i.cs
@@ -0,0 +1,69 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9A73CE29F894A29531858E9A6A2392381E892BFCD4C7B2BBEC7B77199040C2E9"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ AntiSpamAttachment.App app = new AntiSpamAttachment.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/AntiSpamAttachment/obj/Debug/DesignTimeResolveAssemblyReferences.cache
new file mode 100644
index 0000000..de3311d
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/AntiSpamAttachment/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AntiSpamAttachment/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..756d715
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/AntiSpamAttachment/obj/Debug/MainWindow.baml b/AntiSpamAttachment/obj/Debug/MainWindow.baml
new file mode 100644
index 0000000..3706ba7
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/MainWindow.baml differ
diff --git a/AntiSpamAttachment/obj/Debug/MainWindow.g.cs b/AntiSpamAttachment/obj/Debug/MainWindow.g.cs
new file mode 100644
index 0000000..ce8b8fb
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/MainWindow.g.cs
@@ -0,0 +1,105 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BAB92C7B75DB22875218A1EF8D8B7734320C8DC73ADE83EA50C1E5E68E3FE938"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 14 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox extensions;
+
+ #line default
+ #line hidden
+
+
+ #line 15 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button submit;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/AntiSpamAttachment;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.extensions = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 2:
+ this.submit = ((System.Windows.Controls.Button)(target));
+
+ #line 15 "..\..\MainWindow.xaml"
+ this.submit.Click += new System.Windows.RoutedEventHandler(this.submit_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Debug/MainWindow.g.i.cs b/AntiSpamAttachment/obj/Debug/MainWindow.g.i.cs
new file mode 100644
index 0000000..ce8b8fb
--- /dev/null
+++ b/AntiSpamAttachment/obj/Debug/MainWindow.g.i.cs
@@ -0,0 +1,105 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BAB92C7B75DB22875218A1EF8D8B7734320C8DC73ADE83EA50C1E5E68E3FE938"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 14 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox extensions;
+
+ #line default
+ #line hidden
+
+
+ #line 15 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button submit;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/AntiSpamAttachment;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.extensions = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 2:
+ this.submit = ((System.Windows.Controls.Button)(target));
+
+ #line 15 "..\..\MainWindow.xaml"
+ this.submit.Click += new System.Windows.RoutedEventHandler(this.submit_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/AntiSpamAttachment/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
new file mode 100644
index 0000000..2532408
Binary files /dev/null and b/AntiSpamAttachment/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.Properties.Resources.resources b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.Properties.Resources.resources
new file mode 100644
index 0000000..06c24d0
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.Properties.Resources.resources differ
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.AssemblyReference.cache b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..04e1194
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.AssemblyReference.cache differ
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.CoreCompileInputs.cache b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..8f5810a
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+82a3cd2d2cbb89af1c93e5f4a116388b6bf6885b
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.FileListAbsolute.txt b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..124c468
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.FileListAbsolute.txt
@@ -0,0 +1,14 @@
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\bin\Release\AntiSpamAttachment.exe
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\bin\Release\AntiSpamAttachment.pdb
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment.csproj.AssemblyReference.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\MainWindow.g.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\App.g.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment_MarkupCompile.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment_MarkupCompile.lref
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\MainWindow.baml
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment.g.resources
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment.Properties.Resources.resources
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment.csproj.GenerateResource.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment.csproj.CoreCompileInputs.cache
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment.exe
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\AntiSpamAttachment.pdb
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.GenerateResource.cache b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.GenerateResource.cache
new file mode 100644
index 0000000..31e68f5
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.csproj.GenerateResource.cache differ
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.exe b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.exe
new file mode 100644
index 0000000..299946c
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.exe differ
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.g.resources b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.g.resources
new file mode 100644
index 0000000..6cac91a
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.g.resources differ
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment.pdb b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.pdb
new file mode 100644
index 0000000..98a584e
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/AntiSpamAttachment.pdb differ
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.cache b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.cache
new file mode 100644
index 0000000..71aedd4
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.cache
@@ -0,0 +1,20 @@
+AntiSpamAttachment
+
+
+winexe
+C#
+.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\
+AntiSpamAttachment
+none
+false
+TRACE
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\App.xaml
+1219584333
+
+51579654133
+10-1192249692
+MainWindow.xaml;
+
+False
+
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.i.cache b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.i.cache
new file mode 100644
index 0000000..0bb0497
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.i.cache
@@ -0,0 +1,20 @@
+AntiSpamAttachment
+
+
+winexe
+C#
+.cs
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\obj\Release\
+AntiSpamAttachment
+none
+false
+TRACE
+C:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\App.xaml
+1219584333
+
+51579654133
+10-1192249692
+MainWindow.xaml;
+
+True
+
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.i.lref b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.i.lref
new file mode 100644
index 0000000..5c13ff7
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.i.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\MainWindow.xaml;;
+
diff --git a/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.lref b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.lref
new file mode 100644
index 0000000..5c13ff7
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/AntiSpamAttachment_MarkupCompile.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\kn0ws\source\repos\AntiSpamAttachment\AntiSpamAttachment\MainWindow.xaml;;
+
diff --git a/AntiSpamAttachment/obj/Release/App.g.cs b/AntiSpamAttachment/obj/Release/App.g.cs
new file mode 100644
index 0000000..325329a
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/App.g.cs
@@ -0,0 +1,69 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9A73CE29F894A29531858E9A6A2392381E892BFCD4C7B2BBEC7B77199040C2E9"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ AntiSpamAttachment.App app = new AntiSpamAttachment.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Release/App.g.i.cs b/AntiSpamAttachment/obj/Release/App.g.i.cs
new file mode 100644
index 0000000..325329a
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/App.g.i.cs
@@ -0,0 +1,69 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9A73CE29F894A29531858E9A6A2392381E892BFCD4C7B2BBEC7B77199040C2E9"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ AntiSpamAttachment.App app = new AntiSpamAttachment.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Release/DesignTimeResolveAssemblyReferences.cache b/AntiSpamAttachment/obj/Release/DesignTimeResolveAssemblyReferences.cache
new file mode 100644
index 0000000..67b9fd9
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/AntiSpamAttachment/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/AntiSpamAttachment/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..006ecce
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/AntiSpamAttachment/obj/Release/MainWindow.baml b/AntiSpamAttachment/obj/Release/MainWindow.baml
new file mode 100644
index 0000000..5bfa927
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/MainWindow.baml differ
diff --git a/AntiSpamAttachment/obj/Release/MainWindow.g.cs b/AntiSpamAttachment/obj/Release/MainWindow.g.cs
new file mode 100644
index 0000000..ce8b8fb
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/MainWindow.g.cs
@@ -0,0 +1,105 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BAB92C7B75DB22875218A1EF8D8B7734320C8DC73ADE83EA50C1E5E68E3FE938"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 14 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox extensions;
+
+ #line default
+ #line hidden
+
+
+ #line 15 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button submit;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/AntiSpamAttachment;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.extensions = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 2:
+ this.submit = ((System.Windows.Controls.Button)(target));
+
+ #line 15 "..\..\MainWindow.xaml"
+ this.submit.Click += new System.Windows.RoutedEventHandler(this.submit_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Release/MainWindow.g.i.cs b/AntiSpamAttachment/obj/Release/MainWindow.g.i.cs
new file mode 100644
index 0000000..ce8b8fb
--- /dev/null
+++ b/AntiSpamAttachment/obj/Release/MainWindow.g.i.cs
@@ -0,0 +1,105 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BAB92C7B75DB22875218A1EF8D8B7734320C8DC73ADE83EA50C1E5E68E3FE938"
+//------------------------------------------------------------------------------
+//
+// このコードはツールによって生成されました。
+// ランタイム バージョン:4.0.30319.42000
+//
+// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+// コードが再生成されるときに損失したりします。
+//
+//------------------------------------------------------------------------------
+
+using AntiSpamAttachment;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace AntiSpamAttachment {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 14 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox extensions;
+
+ #line default
+ #line hidden
+
+
+ #line 15 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button submit;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/AntiSpamAttachment;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.extensions = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 2:
+ this.submit = ((System.Windows.Controls.Button)(target));
+
+ #line 15 "..\..\MainWindow.xaml"
+ this.submit.Click += new System.Windows.RoutedEventHandler(this.submit_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/AntiSpamAttachment/obj/Release/TempPE/Properties.Resources.Designer.cs.dll b/AntiSpamAttachment/obj/Release/TempPE/Properties.Resources.Designer.cs.dll
new file mode 100644
index 0000000..a4b3c03
Binary files /dev/null and b/AntiSpamAttachment/obj/Release/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..ececad4
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2022 Kn0ws
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.