noob.exe Posted December 15, 2015 Posted December 15, 2015 (edited) Yo guys, I already asked this on BS but unluckily nobody found a solution there eitehr, so i decided to ask on tuts4you What I am trying to do is basically, converting this System.Reflection based code into dnlib-only based code. int num2 = fieldFromHandle.GetOptionalCustomModifiers()[0].MetadataToken; So, how can I do what this code does with dnlib ?? I already looked through the dnlib src but I couldn't find much. The user "n0th!ng" suggested me to check out CModOptSig() in dnlib, - which I did, but I couldn't come up with a proper solution either, since I dont entirely understand this line.. (I know it grabs the MDToken of a class, but not how the class is choosen etc) Never really worked with "OptionalCustomModifiers" before... So probably someone who is experienced with dnlib can help me out Have a nice day^^ @yck1509 : Yes, it's part of ConfuserEx ~yq8 Edited December 16, 2015 by yq8
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now