Howto take a glimpse into mscorlib?

2019-07-24 08:44发布

I want to read data into RSAParameters structure ( RSAParameters ) and did check twice, that the data is correct. But still, I get an error "invalid data" exception for this:

   bei System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
   bei System.Security.Cryptography.Utils._ImportKey(SafeProvHandle hCSP, Int32 keyNumber, CspProviderFlags flags, Object cspObject, SafeKeyHandle& hKey)
   bei System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)

How can I take a look into the source code to check why _ImportKeys is throwing an exception? I have no experience with .dll 'decryption'..are there any symbols to reference somewhere for visual studio 8.0? Thank you.

2条回答
放荡不羁爱自由
2楼-- · 2019-07-24 09:23

You can also use JetBrains dotPeek. It is 100% free.

查看更多
别忘想泡老子
3楼-- · 2019-07-24 09:39

Use .NET Reflector to disassemble the DLL you want to examine.

查看更多
登录 后发表回答