Exemple #1
0
        void removeTamperDetection()
        {
            var tamperDetection = new TamperDetection(module, mainType);

            tamperDetection.initialize();
            foreach (var tamperDetectionMethod in tamperDetection.Methods)
            {
                addCctorInitCallToBeRemoved(tamperDetectionMethod);
            }
            addTypeToBeRemoved(tamperDetection.Type, "Tamper detection type");
        }
Exemple #2
0
		void RemoveTamperDetection() {
			var tamperDetection = new TamperDetection(module, mainType);
			tamperDetection.Initialize();
			foreach (var tamperDetectionMethod in tamperDetection.Methods)
				AddCctorInitCallToBeRemoved(tamperDetectionMethod);
			AddTypeToBeRemoved(tamperDetection.Type, "Tamper detection type");
		}