From 61b98ae58dfad7a40590da07993a50e4f95c6648 Mon Sep 17 00:00:00 2001
From: Bluzume <39113159+KuromeSan@users.noreply.github.com>
Date: Fri, 9 Nov 2018 19:37:49 +1300
Subject: [PATCH] Add files via upload
---
GetPermissionToExec.sln | 25 ++++
GetPermissionToExec/App.config | 6 +
.../GetPermissionToExec.csproj | 54 ++++++++
GetPermissionToExec/MethodInvoker.cs | 14 +++
GetPermissionToExec/Program.cs | 116 ++++++++++++++++++
.../Properties/AssemblyInfo.cs | 36 ++++++
6 files changed, 251 insertions(+)
create mode 100644 GetPermissionToExec.sln
create mode 100644 GetPermissionToExec/App.config
create mode 100644 GetPermissionToExec/GetPermissionToExec.csproj
create mode 100644 GetPermissionToExec/MethodInvoker.cs
create mode 100644 GetPermissionToExec/Program.cs
create mode 100644 GetPermissionToExec/Properties/AssemblyInfo.cs
diff --git a/GetPermissionToExec.sln b/GetPermissionToExec.sln
new file mode 100644
index 0000000..1e35db6
--- /dev/null
+++ b/GetPermissionToExec.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.28010.2003
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GetPermissionToExec", "GetPermissionToExec\GetPermissionToExec.csproj", "{B56A27A6-563B-4EE9-B179-FC10DA68BE16}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B56A27A6-563B-4EE9-B179-FC10DA68BE16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B56A27A6-563B-4EE9-B179-FC10DA68BE16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B56A27A6-563B-4EE9-B179-FC10DA68BE16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B56A27A6-563B-4EE9-B179-FC10DA68BE16}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {DEC00797-CA19-4283-B51C-33E953FE439D}
+ EndGlobalSection
+EndGlobal
diff --git a/GetPermissionToExec/App.config b/GetPermissionToExec/App.config
new file mode 100644
index 0000000..00bfd11
--- /dev/null
+++ b/GetPermissionToExec/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GetPermissionToExec/GetPermissionToExec.csproj b/GetPermissionToExec/GetPermissionToExec.csproj
new file mode 100644
index 0000000..7c4ba6f
--- /dev/null
+++ b/GetPermissionToExec/GetPermissionToExec.csproj
@@ -0,0 +1,54 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {B56A27A6-563B-4EE9-B179-FC10DA68BE16}
+ Exe
+ GetPermissionToExec
+ FreeGMAssetCompiler
+ v4.6.1
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GetPermissionToExec/MethodInvoker.cs b/GetPermissionToExec/MethodInvoker.cs
new file mode 100644
index 0000000..f3199b8
--- /dev/null
+++ b/GetPermissionToExec/MethodInvoker.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace GetPermissionToExec
+{
+ internal class MethodInvoker
+ {
+ private Func