get {
if (rsa == null)
return false;
-#if INSIDE_CORLIB && !NET_2_1
+#if INSIDE_CORLIB && !MOONLIGHT
// the easy way
if (RSA is RSACryptoServiceProvider) {
// available as internal for corlib
if (!initialized) {
lock (lockObject) {
if (!initialized) {
+#if NET_2_1
+ // Moonlight cannot depend on machine.config
+#else
string config = Environment.GetMachineConfigPath ();
StrongNameManager.LoadConfig (config);
+#endif
initialized = true;
}
}