Quickly Testing Code Under Different Cultures

Earlier this week, a situation came up where we needed to make sure a new feature worked when it was used with a non-English culture.  Normally we’d run some tests on a Japanese machine, but one wasn’t readily available at the time.  Instead, I put together a quick tool that our tester could use to…

1

XML Digital Signature Verification with Unknown URI Schemes

A few years back, there was a discussion thread on one of my XML digital signature posts about verifying an XML digital signature which had references to a URI prefixed with cid:.  Recently Mattias Lindberg ran into this problem as well, and devised a clever solution to it. Mattias realized that SignedXml uses WebRequest.Create to help…

0

Kenny Kerr Explores UAC

Kenny Kerr, one of our Security MVPs, has updated his Windows Vista for Developers series with Part4 – User Account Control.  Kenny takes an in-depth look at what UAC means for developers and covers areas that a lot of other sources don’t touch on, such as integrety levels.  This is absolutely worth a read once…

0

The Differences Between Rijndael and AES

When you need to write managed code that encrypts or decrypts data according to the AES standard, most people just plug the RijndaelManaged class in and go on their way.  After all, Rijndael was the winner of the NIST competition to select the algorithm that would become AES.  However, there are some differences between Rijndael…

9

Using Lightweight CodeGen from Partial Trust

Last time I talked about the new Orcas feature allowing you to use reflection from partial trust.  Specifically we talked about standard reflection and Reflection.Emit, putting off Lightweight CodeGen until today. Before we start, if you’re new to LCG, you might want to check out Yiru’s quick introduction to the feature.  If you’re planning on…

0