Exemplo n.º 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");
        }
Exemplo n.º 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");
		}