Start investigate integrity module
This commit is contained in:
		
							parent
							
								
									2b7bb3793f
								
							
						
					
					
						commit
						4bf45d23da
					
				
					 4 changed files with 118 additions and 0 deletions
				
			
		
							
								
								
									
										26
									
								
								SEBPatcher.Configuration/Properties/AssemblyInfo.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								SEBPatcher.Configuration/Properties/AssemblyInfo.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,26 @@
 | 
				
			||||||
 | 
					using System.Reflection;
 | 
				
			||||||
 | 
					using System.Runtime.CompilerServices;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Information about this assembly is defined by the following attributes. 
 | 
				
			||||||
 | 
					// Change them to the values specific to your project.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[assembly: AssemblyTitle("SEBPatcher.Configuration")]
 | 
				
			||||||
 | 
					[assembly: AssemblyDescription("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyConfiguration("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyCompany("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyProduct("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyCopyright("${AuthorCopyright}")]
 | 
				
			||||||
 | 
					[assembly: AssemblyTrademark("")]
 | 
				
			||||||
 | 
					[assembly: AssemblyCulture("")]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
 | 
				
			||||||
 | 
					// The form "{Major}.{Minor}.*" will automatically update the build and revision,
 | 
				
			||||||
 | 
					// and "{Major}.{Minor}.{Build}.*" will update just the revision.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[assembly: AssemblyVersion("1.0.*")]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// The following attributes are used to specify the signing key for the assembly, 
 | 
				
			||||||
 | 
					// if desired. See the Mono documentation for more information about signing.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					//[assembly: AssemblyDelaySign(false)]
 | 
				
			||||||
 | 
					//[assembly: AssemblyKeyFile("")]
 | 
				
			||||||
							
								
								
									
										76
									
								
								SEBPatcher.Configuration/SEBPatcher.Configuration.csproj
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										76
									
								
								SEBPatcher.Configuration/SEBPatcher.Configuration.csproj
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,76 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 | 
				
			||||||
 | 
					  <PropertyGroup>
 | 
				
			||||||
 | 
					    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
 | 
				
			||||||
 | 
					    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
 | 
				
			||||||
 | 
					    <ProjectGuid>{6E7CE06E-5C8A-40F9-8DCA-0C72D30A4AEF}</ProjectGuid>
 | 
				
			||||||
 | 
					    <OutputType>Library</OutputType>
 | 
				
			||||||
 | 
					    <RootNamespace>SEBPatcher.Configuration</RootNamespace>
 | 
				
			||||||
 | 
					    <AssemblyName>SEBPatcher.Configuration</AssemblyName>
 | 
				
			||||||
 | 
					    <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
				
			||||||
 | 
					    <DebugSymbols>true</DebugSymbols>
 | 
				
			||||||
 | 
					    <DebugType>full</DebugType>
 | 
				
			||||||
 | 
					    <Optimize>false</Optimize>
 | 
				
			||||||
 | 
					    <OutputPath>bin\Debug</OutputPath>
 | 
				
			||||||
 | 
					    <DefineConstants>DEBUG;</DefineConstants>
 | 
				
			||||||
 | 
					    <ErrorReport>prompt</ErrorReport>
 | 
				
			||||||
 | 
					    <WarningLevel>4</WarningLevel>
 | 
				
			||||||
 | 
					    <ConsolePause>false</ConsolePause>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 | 
				
			||||||
 | 
					    <Optimize>true</Optimize>
 | 
				
			||||||
 | 
					    <OutputPath>bin\Release</OutputPath>
 | 
				
			||||||
 | 
					    <ErrorReport>prompt</ErrorReport>
 | 
				
			||||||
 | 
					    <WarningLevel>4</WarningLevel>
 | 
				
			||||||
 | 
					    <ConsolePause>false</ConsolePause>
 | 
				
			||||||
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <Reference Include="System" />
 | 
				
			||||||
 | 
					    <Reference Include="Mono.Cecil">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\Mono.Cecil.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="Mono.Cecil.Mdb">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\Mono.Cecil.Mdb.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="0Harmony">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\0Harmony.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="Mono.Cecil.Pdb">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\Mono.Cecil.Pdb.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="Mono.Cecil.Rocks">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\Mono.Cecil.Rocks.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="MonoMod.Common">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\MonoMod.Common.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="MonoMod">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\MonoMod.exe</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="MonoMod.RuntimeDetour">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\MonoMod.RuntimeDetour.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="MonoMod.UnitTest">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\MonoMod.UnitTest.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="MonoMod.Utils">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\MonoMod.Utils.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="SafeExamBrowser.Configuration">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\SafeExamBrowser.Configuration.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="SafeExamBrowser.Logging.Contracts">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\SafeExamBrowser.Logging.Contracts.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					    <Reference Include="SafeExamBrowser.Configuration.Contracts">
 | 
				
			||||||
 | 
					      <HintPath>$(ReferenceBasePath)\SafeExamBrowser.Configuration.Contracts.dll</HintPath>
 | 
				
			||||||
 | 
					    </Reference>
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <Compile Include="Properties\AssemblyInfo.cs" />
 | 
				
			||||||
 | 
					    <Compile Include="patch_IntegrityModule.cs" />
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 | 
				
			||||||
 | 
					</Project>
 | 
				
			||||||
							
								
								
									
										10
									
								
								SEBPatcher.Configuration/patch_IntegrityModule.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								SEBPatcher.Configuration/patch_IntegrityModule.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,10 @@
 | 
				
			||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using MonoMod;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace SafeExamBrowser.Configuration.Integrity
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class patch_IntegrityModule : IntegrityModule
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        [MonoModIgnore] public patch_IntegrityModule(Configuration.Contracts.AppConfig appConfig, SafeExamBrowser.Logging.Contracts.ILogger logger) : base(appConfig, logger) { }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -3,6 +3,8 @@ Microsoft Visual Studio Solution File, Format Version 12.00
 | 
				
			||||||
# Visual Studio 15
 | 
					# Visual Studio 15
 | 
				
			||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SEBPatcher.Monitoring", "SEBPatcher.Monitoring\SEBPatcher.Monitoring.csproj", "{366BC693-9A33-48C8-B61C-31E76A5CF6E4}"
 | 
					Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SEBPatcher.Monitoring", "SEBPatcher.Monitoring\SEBPatcher.Monitoring.csproj", "{366BC693-9A33-48C8-B61C-31E76A5CF6E4}"
 | 
				
			||||||
EndProject
 | 
					EndProject
 | 
				
			||||||
 | 
					Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SEBPatcher.Configuration", "SEBPatcher.Configuration\SEBPatcher.Configuration.csproj", "{6E7CE06E-5C8A-40F9-8DCA-0C72D30A4AEF}"
 | 
				
			||||||
 | 
					EndProject
 | 
				
			||||||
Global
 | 
					Global
 | 
				
			||||||
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
						GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
				
			||||||
		Debug|Any CPU = Debug|Any CPU
 | 
							Debug|Any CPU = Debug|Any CPU
 | 
				
			||||||
| 
						 | 
					@ -13,5 +15,9 @@ Global
 | 
				
			||||||
		{366BC693-9A33-48C8-B61C-31E76A5CF6E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
							{366BC693-9A33-48C8-B61C-31E76A5CF6E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
				
			||||||
		{366BC693-9A33-48C8-B61C-31E76A5CF6E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
							{366BC693-9A33-48C8-B61C-31E76A5CF6E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
				
			||||||
		{366BC693-9A33-48C8-B61C-31E76A5CF6E4}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
							{366BC693-9A33-48C8-B61C-31E76A5CF6E4}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
				
			||||||
 | 
							{6E7CE06E-5C8A-40F9-8DCA-0C72D30A4AEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 | 
				
			||||||
 | 
							{6E7CE06E-5C8A-40F9-8DCA-0C72D30A4AEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
				
			||||||
 | 
							{6E7CE06E-5C8A-40F9-8DCA-0C72D30A4AEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
				
			||||||
 | 
							{6E7CE06E-5C8A-40F9-8DCA-0C72D30A4AEF}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
				
			||||||
	EndGlobalSection
 | 
						EndGlobalSection
 | 
				
			||||||
EndGlobal
 | 
					EndGlobal
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue