[docs] Import of Microsoft BCL Documentation.
[mono.git] / mcs / class / corlib / System.Security.Cryptography / TripleDES.cs
index 9af792158e0d60ea0b2346c361e1f5347f7fd7c6..3fa0800cdffb20ff46bd18a26d3ecfaf5dea2d3e 100644 (file)
@@ -27,8 +27,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if !NET_2_1 || MONOTOUCH
-
 using System.Globalization;
 using System.Runtime.InteropServices;
 using System.Security.Cryptography;
@@ -123,7 +121,11 @@ public abstract class TripleDES : SymmetricAlgorithm {
 
        public static new TripleDES Create ()
        {
+#if FULL_AOT_RUNTIME
+               return new System.Security.Cryptography.TripleDESCryptoServiceProvider ();
+#else
                return Create ("System.Security.Cryptography.TripleDES");
+#endif
        }
 
        public static new TripleDES Create (string str)
@@ -134,5 +136,3 @@ public abstract class TripleDES : SymmetricAlgorithm {
 
 }
 
-#endif
-