private static string ReadString(string name) { #if SILVERLIGHT return null; #else try { return Environment.GetEnvironmentVariable("DLR_" + name); } catch (SecurityException) { return null; } #endif }