2015-06-22 45 views

回答

0
AssemblyDefinition adef = AssemblyDefinition.ReadAssembly("x.dll"); 
TypeDefinition tdef = adef.MainModule.GetType("Class"); 
tdef.IsPublic = true; 
adef.MainModule.Write("x_updated.dll"); 
相關問題