Add some new 4.0 features in System.Security.Cryptography
[mono.git] / mcs / class / corlib / System.Security.Cryptography / CspProviderFlags.cs
index 0fdab6e8d117e2bca62060bbd59592de642d00ff..220ad2a8f22046443c37270d34e9cdb04be56978 100644 (file)
@@ -5,7 +5,7 @@
 //     Thomas Neidhart <tome@sbox.tugraz.at>
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
-// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005, 2011 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -33,19 +33,18 @@ namespace System.Security.Cryptography {
 
        [Flags]
        [Serializable]
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public enum CspProviderFlags {
                UseMachineKeyStore = 1,
                UseDefaultKeyContainer = 2,
                UseExistingKey = 8,
-#if NET_2_0
                NoFlags = 0,
                NoPrompt = 64,
                UseArchivableKey = 16,
                UseNonExportableKey = 4,
-               UseUserProtectedKey = 32
+               UseUserProtectedKey = 32,
+#if NET_4_0
+               CreateEphemeralKey = 128
 #endif
        }
 }