// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0 && SECURITY_DEP
+#if SECURITY_DEP
+
+#if !MONOTOUCH && !MONODROID
extern alias PrebuiltSystem;
+using X509CertificateCollection = PrebuiltSystem::System.Security.Cryptography.X509Certificates.X509CertificateCollection;
+#endif
using System.Security.Cryptography.X509Certificates;
-using X509CertificateCollection = PrebuiltSystem::System.Security.Cryptography.X509Certificates.X509CertificateCollection;
-
namespace System.Net.Security
{
public delegate X509Certificate LocalCertificateSelectionCallback (
X509Certificate remoteCertificate,
string [] acceptableIssuers);
}
-
#endif